Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def wandb_trace(rag_option, prompt, prompt_template, result, completion, chain_n
|
|
120 |
trace = Trace(
|
121 |
name = chain_name,
|
122 |
kind = "chain",
|
123 |
-
status_code = "
|
124 |
status_message = status_msg,
|
125 |
metadata={
|
126 |
"chunk_overlap": config["chunk_overlap"],
|
@@ -200,7 +200,7 @@ description = """<strong>Overview:</strong> Context-aware multimodal reasoning a
|
|
200 |
<strong>Speech-to-text</strong> via <a href='https://openai.com/research/whisper'>whisper-1</a> model, <strong>text embedding</strong> via
|
201 |
<a href='https://openai.com/blog/new-and-improved-embedding-model'>text-embedding-ada-002</a> model, and <strong>text generation</strong> via
|
202 |
<a href='""" + WEB_URL + """'>gpt-4</a> model. Implementation via AI-first <a href='https://www.langchain.com/'>LangChain</a> toolkit.
|
203 |
-
RAG evaluation via <a href='https://wandb.ai/bstraehle'>Weights & Biases</a>."""
|
204 |
|
205 |
gr.close_all()
|
206 |
demo = gr.Interface(fn=invoke,
|
|
|
120 |
trace = Trace(
|
121 |
name = chain_name,
|
122 |
kind = "chain",
|
123 |
+
status_code = "SUCCESS",
|
124 |
status_message = status_msg,
|
125 |
metadata={
|
126 |
"chunk_overlap": config["chunk_overlap"],
|
|
|
200 |
<strong>Speech-to-text</strong> via <a href='https://openai.com/research/whisper'>whisper-1</a> model, <strong>text embedding</strong> via
|
201 |
<a href='https://openai.com/blog/new-and-improved-embedding-model'>text-embedding-ada-002</a> model, and <strong>text generation</strong> via
|
202 |
<a href='""" + WEB_URL + """'>gpt-4</a> model. Implementation via AI-first <a href='https://www.langchain.com/'>LangChain</a> toolkit.
|
203 |
+
RAG evaluation via <a href='https://wandb.ai/bstraehle/openai-llm-rag/table'>Weights & Biases</a>."""
|
204 |
|
205 |
gr.close_all()
|
206 |
demo = gr.Interface(fn=invoke,
|