top | item 39879392

How to make LLM able to pick the correct tool to complete a task? (discord bot)

1 points| eerop | 1 year ago

Hey, im creating a discord bot with one command /assistant.

Basically it takes as input `text` parameter, and you can use it like: - "What's the most active channel rn?" - "Explain the joke by @userX" - ...

Im using discord.js, how can I make the LLM pick the correct way to retrieve the information for completing the user's task? e.g., with "What's the most active channel?" the llm would have to select the discord.js method for retrieving all channels.

Any resources on this?

discuss

order

No comments yet.