Find answers from the community

s
F
Y
a
P
Updated 2 years ago

Agent with sources

How do I get sources used when integrating with agents? I know this feature was added recently but I cannot find the documentation for this?
L
J
4 comments
Should I use
Plain Text
from gpt_index.langchain_helpers.agents import LlamaToolkit, create_llama_chat_agent, IndexToolConfig, GraphToolConfig
or
Plain Text
from llama_index.langchain_helpers.agents import LlamaToolkit, create_llama_chat_agent, IndexToolConfig, GraphToolConfig
Always llama_index (I know the notebooks use gpt_index, it's complicated haha)
Add a reply
Sign up and join the conversation on Discord