Skip to content

Function names when responding to tool calls? #182

Answered by awaescher
gitcob asked this question in Q&A
Discussion options

You must be logged in to vote

The code you linked is pretty basic. What happens there is simply that I model some tools in code but it's just the meta data so that the LLMs knows which tools there are to call.

After the LLM chose some tools, I run them with a FunctionHelper by their names and arguments. This is actually lame but the idea was just to provide the bindings and the data transfer objects to send and receive data and let the developers decide how to do it.

But I felt that the tool support is too basic this way. That's why I started a pull request #171. With that OllamaSharp can generate tool meta data by their implementation. It's pretty basic yet but works pretty good. However it's not available on NuGet yet.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@gitcob
Comment options

Answer selected by gitcob
Comment options

You must be logged in to vote
1 reply
@awaescher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants