Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,8 @@ def invoke(openai_api_key, rag_option, prompt):
|
|
135 |
return result
|
136 |
|
137 |
description = """<strong>Overview:</strong> Context-aware multimodal reasoning application that demonstrates a <strong>large language model (LLM)</strong> with
|
138 |
-
<strong>retrieval augmented generation (RAG)</strong
|
|
|
139 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform text generation use cases on <a href='""" + YOUTUBE_URL_1 + """'>YouTube</a>,
|
140 |
<a href='""" + PDF_URL + """'>PDF</a>, and <a href='""" + WEB_URL + """'>web</a> data published after LLM knowledge cutoff (example: GPT-4 data).
|
141 |
<ul style="list-style-type:square;">
|
|
|
135 |
return result
|
136 |
|
137 |
description = """<strong>Overview:</strong> Context-aware multimodal reasoning application that demonstrates a <strong>large language model (LLM)</strong> with
|
138 |
+
<strong>retrieval augmented generation (RAG)</strong>.
|
139 |
+
See <a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/main/hugging-face/openai-llm-rag.png'>architecture diagram</a> on GitHub.\n\n
|
140 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform text generation use cases on <a href='""" + YOUTUBE_URL_1 + """'>YouTube</a>,
|
141 |
<a href='""" + PDF_URL + """'>PDF</a>, and <a href='""" + WEB_URL + """'>web</a> data published after LLM knowledge cutoff (example: GPT-4 data).
|
142 |
<ul style="list-style-type:square;">
|