Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do it need the loadTools function? #156

Open
liujunao opened this issue Mar 6, 2024 · 0 comments
Open

Why do it need the loadTools function? #156

liujunao opened this issue Mar 6, 2024 · 0 comments

Comments

@liujunao
Copy link

liujunao commented Mar 6, 2024

What if the tool contains multiple different LLMS?

python code example:

llm_math_chain = LLMMathChain(llm=llm, verbose=True)

tools.append(
    Tool.from_function(
        func=llm_math_chain.run,
        name="Calculator",
        description="useful for when you need to answer questions about math",
        args_schema=CalculatorInput
        # coroutine= ... <- you can specify an async method if desired as well
    )
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant