Class FunctionSchemaAttribute
OpenAI styled JSON Schema attribute for annotating classes for LLM function calls.
Note: It's a duplicate of StrictJsonSchemaAttribute for clarity and intent.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class FunctionSchemaAttribute : StrictJsonSchemaAttribute
- Inheritance
-
objectFunctionSchemaAttribute
- Inherited Members
Constructors
FunctionSchemaAttribute(string, string)
public FunctionSchemaAttribute(string name, string description = null)
Parameters
namestringdescriptionstring