We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1881cdc + 52700bd commit 1cb78f1Copy full SHA for 1cb78f1
examples/using_agents.py
@@ -14,6 +14,7 @@
14
langchain_model = con.models.create(
15
'agent_model',
16
predict='answer',
17
+ mode='retrieval', # Use retrieval mode if using knowledge bases.
18
engine='langchain',
19
prompt_template='You are a spicy, cheeky assistant. Add some personality and flare when responding to the user question: {{question}}',
20
model_name='gpt-4-0125-preview' # This is the underlying LLM. Can use OpenAI, Claude, local Ollama, etc
0 commit comments