Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
81 |
result = chain.run({"question": prompt})
|
82 |
return result
|
83 |
|
84 |
-
description = """<strong>Overview:</strong> Reasoning application that demonstrates
|
85 |
-
<strong>Retrieval Augmented Generation (RAG)</strong> on
|
86 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, summarization, translation, etc.) on
|
87 |
<a href='""" + YOUTUBE_URL_1 + """'>YouTube</a>, <a href='""" + PDF_URL + """'>PDF</a>, and <a href='""" + WEB_URL + """'>Web</a>
|
88 |
<strong>GPT-4 data</strong> (created after training cutoff).
|
|
|
81 |
result = chain.run({"question": prompt})
|
82 |
return result
|
83 |
|
84 |
+
description = """<strong>Overview:</strong> Reasoning application that demonstrates a <strong>Large Language Model (LLM)</strong> with
|
85 |
+
<strong>Retrieval Augmented Generation (RAG)</strong> on <strong>external data</strong>.\n\n
|
86 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, summarization, translation, etc.) on
|
87 |
<a href='""" + YOUTUBE_URL_1 + """'>YouTube</a>, <a href='""" + PDF_URL + """'>PDF</a>, and <a href='""" + WEB_URL + """'>Web</a>
|
88 |
<strong>GPT-4 data</strong> (created after training cutoff).
|