Configurable descriptions #448
hahahahahaiyiwen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Currently in the SDK, the tool/resource/prompt description comes from System.ComponentModel.DescriptionAttribute, using samples/QuickstartWeatherServer/WeatherTools.cs as an example:
I think it makes sense to treat the description as configuration and decouple it from the code implementation. For example, like this in appsetting.json
I also have a side question, will the descriptions of the parameters be fed into the model? I tried to dig around but only found the method's description and
AIFunction.JsonScheme
are used to create theAIFunctionMcpServerTool
, which don't include the descriptions of the parameters. Could someone help clarify?Scope
Beta Was this translation helpful? Give feedback.
All reactions