Spaces:
Runtime error
Runtime error
Joshua Sundance Bailey
commited on
Commit
·
71e9279
1
Parent(s):
8670f94
agent type
Browse files
.idea/vcs.xml
DELETED
|
@@ -1,6 +0,0 @@
|
|
| 1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
-
<project version="4">
|
| 3 |
-
<component name="VcsDirectoryMappings">
|
| 4 |
-
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
| 5 |
-
</component>
|
| 6 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
langchain-streamlit-demo/llm_resources.py
CHANGED
|
@@ -85,7 +85,7 @@ def get_agent(
|
|
| 85 |
def get_doc_agent(
|
| 86 |
tools: list[BaseTool],
|
| 87 |
llm: Optional[BaseLLM] = None,
|
| 88 |
-
agent_type: AgentType = AgentType.
|
| 89 |
):
|
| 90 |
if llm is None:
|
| 91 |
llm = ChatOpenAI(
|
|
|
|
| 85 |
def get_doc_agent(
|
| 86 |
tools: list[BaseTool],
|
| 87 |
llm: Optional[BaseLLM] = None,
|
| 88 |
+
agent_type: AgentType = AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
|
| 89 |
):
|
| 90 |
if llm is None:
|
| 91 |
llm = ChatOpenAI(
|