zmedelis / bosquet

Tooling to build LLM applications: prompt templating and composition, agents, LLM memory, and other instruments for builders of AI applications.
https://zmedelis.github.io/bosquet/
Eclipse Public License 1.0
280 stars 19 forks source link

Add Calculator Tool #28

Closed zmedelis closed 1 year ago

zmedelis commented 1 year ago

Implement a Calculator Tool to be used by Agents. Just as the sole currently existing Wikipedia search tool it should follow a defined protocol. The main goal here is to see if current Tool abstraction can cover different types of tools.

groundedsage commented 1 year ago

Is this for counting token usage?

zmedelis commented 1 year ago

I should be more thorough with Issue documentation :) Now edited.

For token counting I have some very basic work done here bosquet.llm.openai-tokens Today this was announced, very likely I will use token counting from that lib.