forked from phoenix/litellm-mirror
add everyting for docs
This commit is contained in:
parent
de45a738ee
commit
0fe8799f94
1015 changed files with 185353 additions and 0 deletions
15
docs/snippets/modules/agents/tools/get_started.mdx
Normal file
15
docs/snippets/modules/agents/tools/get_started.mdx
Normal file
|
@ -0,0 +1,15 @@
|
|||
```python
|
||||
from langchain.agents import load_tools
|
||||
tool_names = [...]
|
||||
tools = load_tools(tool_names)
|
||||
```
|
||||
|
||||
Some tools (e.g. chains, agents) may require a base LLM to use to initialize them.
|
||||
In that case, you can pass in an LLM as well:
|
||||
|
||||
```python
|
||||
from langchain.agents import load_tools
|
||||
tool_names = [...]
|
||||
llm = ...
|
||||
tools = load_tools(tool_names, llm=llm)
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue