Update app.py
Browse files
app.py
CHANGED
|
@@ -176,10 +176,6 @@ chain_rag_tool = Tool(name="RAG_Chain",
|
|
| 176 |
description="RAG chain for question answering."
|
| 177 |
)
|
| 178 |
|
| 179 |
-
app = FastAPI(
|
| 180 |
-
title='Example',
|
| 181 |
-
)
|
| 182 |
-
|
| 183 |
tools = [chain_rag_tool, api_tool]
|
| 184 |
llm_with_tools = llm_1.bind(functions=[format_tool_to_openai_function(t) for t in tools])
|
| 185 |
|
|
|
|
| 176 |
description="RAG chain for question answering."
|
| 177 |
)
|
| 178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
tools = [chain_rag_tool, api_tool]
|
| 180 |
llm_with_tools = llm_1.bind(functions=[format_tool_to_openai_function(t) for t in tools])
|
| 181 |
|