Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
61f90b1
1
Parent(s):
0d24f6f
Update app.py
Browse files
app.py
CHANGED
@@ -300,6 +300,8 @@ vector_store_HF = Chroma(
|
|
300 |
persist_directory = current_dir + "/Vit_All_HF_Embeddings",
|
301 |
embedding_function=embeddings_HuggingFace)
|
302 |
print("vector_store_HF:",vector_store_HF._collection.count(),"chunks.")
|
|
|
|
|
303 |
|
304 |
|
305 |
def Vectorstore_backed_retriever(
|
@@ -804,7 +806,7 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
|
|
804 |
|
805 |
#prompt_template = prompt_templates[prompt_template]
|
806 |
|
807 |
-
print(prompt_template)
|
808 |
|
809 |
|
810 |
completion = chain.invoke({"question":prompt})
|
|
|
300 |
persist_directory = current_dir + "/Vit_All_HF_Embeddings",
|
301 |
embedding_function=embeddings_HuggingFace)
|
302 |
print("vector_store_HF:",vector_store_HF._collection.count(),"chunks.")
|
303 |
+
# Create a new file
|
304 |
+
|
305 |
|
306 |
|
307 |
def Vectorstore_backed_retriever(
|
|
|
806 |
|
807 |
#prompt_template = prompt_templates[prompt_template]
|
808 |
|
809 |
+
print(prompt_templates[prompt_template])
|
810 |
|
811 |
|
812 |
completion = chain.invoke({"question":prompt})
|