Find answers from the community

M
Markos
Offline, last seen 2 months ago
Joined September 25, 2024
Hello everyone, I am trying to integrate Llama index with Langchain. What is the best way to do that? I have seen an implementation in which llamaindex is used as a tool in Langchain agent.
tools = [
Tool(
name = "GPT Index",
func=lambda q: str(index.query(q)),
description="useful for when you want to answer questions about the author. The input to this tool should be a complete english sentence.",
return_direct=True
),
]


can I use that even if my index is a composable graph?
11 comments
M
L