Update app.py
Browse files
app.py
CHANGED
@@ -39,11 +39,11 @@ def invoke(openai_api_key, youtube_url, prompt):
|
|
39 |
return result["result"]
|
40 |
|
41 |
description = """The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong> (RAG) on external data.
|
42 |
-
Enter an OpenAI API key, YouTube URL (external data), and prompt to
|
43 |
Implementation: <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API
|
44 |
via AI-first toolkit <a href='https://www.langchain.com/'>LangChain</a> with foundation models
|
45 |
<a href='https://openai.com/research/whisper'>Whisper</a> (speech to text) and <a href='https://openai.com/research/gpt-4'>GPT-4</a> (LLM use cases)
|
46 |
-
|
47 |
|
48 |
gr.close_all()
|
49 |
demo = gr.Interface(fn=invoke,
|
|
|
39 |
return result["result"]
|
40 |
|
41 |
description = """The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong> (RAG) on external data.
|
42 |
+
Enter an OpenAI API key, YouTube URL (external data), and prompt to perform semantic search, sentiment analysis, summarization, and/or translation, etc.\n\n
|
43 |
Implementation: <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API
|
44 |
via AI-first toolkit <a href='https://www.langchain.com/'>LangChain</a> with foundation models
|
45 |
<a href='https://openai.com/research/whisper'>Whisper</a> (speech to text) and <a href='https://openai.com/research/gpt-4'>GPT-4</a> (LLM use cases)
|
46 |
+
as well as <a href='https://www.trychroma.com/'>Chroma</a> vector database."""
|
47 |
|
48 |
gr.close_all()
|
49 |
demo = gr.Interface(fn=invoke,
|