Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,7 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
65 |
else:
|
66 |
chain = LLMChain(llm = llm, prompt = LLM_CHAIN_PROMPT)
|
67 |
result = chain.run({"question": prompt})
|
|
|
68 |
return result
|
69 |
|
70 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
|
|
65 |
else:
|
66 |
chain = LLMChain(llm = llm, prompt = LLM_CHAIN_PROMPT)
|
67 |
result = chain.run({"question": prompt})
|
68 |
+
print(os.listdir("/data/chroma/"))
|
69 |
return result
|
70 |
|
71 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|