You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a C# code generator that already generates the serialized metadata (json schema) for my tools.
I would love not to be forced to derive the agent from the Tool class to avoid dependencies (*)
I would love to initialize the metadata using the full json schema so that I avoid serialization and reflection at runtime
Even using the Tool function, I don't see how to specify the description for the return parameter. How can I do that?
(*) I am already facing to the dependencies problem. My agents should be used from multiple implementations of "chat" providers and they currently have conflicting dependencies. Being forced to add a reference to all those libraries in a single project is a big mess.
Thanks!
The text was updated successfully, but these errors were encountered:
Sounds interesting, but I guess I need for information about the issues you face and maybe a look on the code you already have. Do you have it in a public repository?
Also, might Microsoft.Extensions.AI be an approach to that dependency issue you mentioned? OllamaSharp implements it.
Sounds interesting, but I guess I need for information about the issues you face and maybe a look on the code you already have. Do you have it in a public repository?
Unfortunately it's not public yet. It's a large solution of 20+ projects that i use as a demo in my public talks.
I'll probably do at a later time, but it's still a work in progress.
Also, might Microsoft.Extensions.AI be an approach to that dependency issue you mentioned? OllamaSharp implements it.
Yes I know and those extensions are suffering a similar issue: AITool cannot be constructed with just the json string which is a lost occasion and a waste of time as the code generator can serialize the schema at compile time instead of runtime.
I wrote a C# code generator that already generates the serialized metadata (json schema) for my tools.
Tool
class to avoid dependencies (*)(*) I am already facing to the dependencies problem. My agents should be used from multiple implementations of "chat" providers and they currently have conflicting dependencies. Being forced to add a reference to all those libraries in a single project is a big mess.
Thanks!
The text was updated successfully, but these errors were encountered: