Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/python/knowledge_base_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ flowchart TD
# Retrieve path
result = agent.tool.memory(action="retrieve", query=query, min_score=0.4, max_results=9)
# Generate response from retrieved information
answer = agent.use_llm(prompt=f"User question: \"{query}\"\n\nInformation from knowledge base:\n{result_str}...",
answer = agent.tool.use_llm(prompt=f"User question: \"{query}\"\n\nInformation from knowledge base:\n{result_str}...",
system_prompt=ANSWER_SYSTEM_PROMPT)
```

Expand Down