Skip to content

Commit

Permalink
remove mentions of old LlamaToolKit (run-llama#7935)
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich authored Oct 2, 2023
1 parent 4f1ac38 commit bf55758
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2,129 deletions.
27 changes: 0 additions & 27 deletions docs/community/integrations/using_with_langchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,6 @@ tool = LlamaIndexTool.from_tool_config(tool_config)

```

You can also choose to provide a `LlamaToolkit`:

```python
toolkit = LlamaToolkit(
index_configs=index_configs,
)
```

Such a toolkit can be used to create a downstream Langchain-based chat agent through
our `create_llama_agent` and `create_llama_chat_agent` commands:

```python
from llama_index.langchain_helpers.agents import create_llama_chat_agent

agent_chain = create_llama_chat_agent(
toolkit,
llm,
memory=memory,
verbose=True
)

agent_chain.run(input="Query about X")
```

You can take a look at [the full tutorial notebook here](https://github.com/jerryjliu/llama_index/blob/main/examples/chatbot/Chatbot_SEC.ipynb).


### Llama Demo Notebook: Tool + Memory module

We provide another demo notebook showing how you can build a chat agent with the following components.
Expand Down
Loading

0 comments on commit bf55758

Please sign in to comment.