-
Notifications
You must be signed in to change notification settings - Fork 261
/
ToolDefinition.xml
211 lines (211 loc) · 18.7 KB
/
ToolDefinition.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<Type Name="ToolDefinition" FullName="Azure.AI.OpenAI.Assistants.ToolDefinition">
<TypeSignature Language="C#" Value="public abstract class ToolDefinition : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ToolDefinition extends System.Object implements class System.ClientModel.Primitives.IJsonModel`1<class Azure.AI.OpenAI.Assistants.ToolDefinition>, class System.ClientModel.Primitives.IPersistableModel`1<class Azure.AI.OpenAI.Assistants.ToolDefinition>" />
<TypeSignature Language="DocId" Value="T:Azure.AI.OpenAI.Assistants.ToolDefinition" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class ToolDefinition
Implements IJsonModel(Of ToolDefinition), IPersistableModel(Of ToolDefinition)" />
<TypeSignature Language="F#" Value="type ToolDefinition = class
 interface IJsonModel<ToolDefinition>
 interface IPersistableModel<ToolDefinition>" />
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.ClientModel.Primitives.IPersistableModel<T></InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.OpenAI.Assistants.UnknownToolDefinition))]</AttributeName>
<AttributeName Language="F#">[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.OpenAI.Assistants.UnknownToolDefinition))>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
An abstract representation of an input tool definition that an assistant can use.
Please note <see cref="T:Azure.AI.OpenAI.Assistants.ToolDefinition" /> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
The available derived classes include <see cref="T:Azure.AI.OpenAI.Assistants.CodeInterpreterToolDefinition" />, <see cref="T:Azure.AI.OpenAI.Assistants.FunctionToolDefinition" /> and <see cref="T:Azure.AI.OpenAI.Assistants.RetrievalToolDefinition" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ToolDefinition ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary> Initializes a new instance of <see cref="T:Azure.AI.OpenAI.Assistants.ToolDefinition" />. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create">
<MemberSignature Language="C#" Value="Azure.AI.OpenAI.Assistants.ToolDefinition IJsonModel<ToolDefinition>.Create (ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class Azure.AI.OpenAI.Assistants.ToolDefinition System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create(valuetype System.Text.Json.Utf8JsonReader& reader, class System.ClientModel.Primitives.ModelReaderWriterOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.System#ClientModel#Primitives#IJsonModel<Azure#AI#OpenAI#Assistants#ToolDefinition>#Create(System.Text.Json.Utf8JsonReader@,System.ClientModel.Primitives.ModelReaderWriterOptions)" />
<MemberSignature Language="VB.NET" Value="Function Create (ByRef reader As Utf8JsonReader, options As ModelReaderWriterOptions) As ToolDefinition Implements IJsonModel(Of ToolDefinition).Create" />
<MemberSignature Language="F#" Value="abstract member System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create : Utf8JsonReader * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.OpenAI.Assistants.ToolDefinition
override this.System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create : Utf8JsonReader * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.OpenAI.Assistants.ToolDefinition" Usage="toolDefinition.System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create (reader, options)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ClientModel.Primitives.IJsonModel`1.Create(System.Text.Json.Utf8JsonReader@,System.ClientModel.Primitives.ModelReaderWriterOptions)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.AI.OpenAI.Assistants.ToolDefinition</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="reader" Type="System.Text.Json.Utf8JsonReader" RefType="ref" />
<Parameter Name="options" Type="System.ClientModel.Primitives.ModelReaderWriterOptions" />
</Parameters>
<Docs>
<param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader" /> to read.</param>
<param name="options">The <see cref="T:System.ClientModel.Primitives.ModelReaderWriterOptions" /> to use.</param>
<summary>
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.
</summary>
<returns>A <typeparamref name="T" /> representation of the JSON value.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">If the model does not support the requested <see cref="P:System.ClientModel.Primitives.ModelReaderWriterOptions.Format" />.</exception>
</Docs>
</Member>
<Member MemberName="System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write">
<MemberSignature Language="C#" Value="void IJsonModel<ToolDefinition>.Write (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write(class System.Text.Json.Utf8JsonWriter writer, class System.ClientModel.Primitives.ModelReaderWriterOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.System#ClientModel#Primitives#IJsonModel<Azure#AI#OpenAI#Assistants#ToolDefinition>#Write(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions)" />
<MemberSignature Language="VB.NET" Value="Sub Write (writer As Utf8JsonWriter, options As ModelReaderWriterOptions) Implements IJsonModel(Of ToolDefinition).Write" />
<MemberSignature Language="F#" Value="abstract member System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write : System.Text.Json.Utf8JsonWriter * System.ClientModel.Primitives.ModelReaderWriterOptions -> unit
override this.System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write : System.Text.Json.Utf8JsonWriter * System.ClientModel.Primitives.ModelReaderWriterOptions -> unit" Usage="toolDefinition.System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write (writer, options)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ClientModel.Primitives.IJsonModel`1.Write(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Text.Json.Utf8JsonWriter" />
<Parameter Name="options" Type="System.ClientModel.Primitives.ModelReaderWriterOptions" />
</Parameters>
<Docs>
<param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter" /> to write into.</param>
<param name="options">The <see cref="T:System.ClientModel.Primitives.ModelReaderWriterOptions" /> to use.</param>
<summary>
Writes the model to the provided <see cref="T:System.Text.Json.Utf8JsonWriter" />.
</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">If the model does not support the requested <see cref="P:System.ClientModel.Primitives.ModelReaderWriterOptions.Format" />.</exception>
</Docs>
</Member>
<Member MemberName="System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create">
<MemberSignature Language="C#" Value="Azure.AI.OpenAI.Assistants.ToolDefinition IPersistableModel<ToolDefinition>.Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class Azure.AI.OpenAI.Assistants.ToolDefinition System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create(class System.BinaryData data, class System.ClientModel.Primitives.ModelReaderWriterOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.System#ClientModel#Primitives#IPersistableModel<Azure#AI#OpenAI#Assistants#ToolDefinition>#Create(System.BinaryData,System.ClientModel.Primitives.ModelReaderWriterOptions)" />
<MemberSignature Language="VB.NET" Value="Function Create (data As BinaryData, options As ModelReaderWriterOptions) As ToolDefinition Implements IPersistableModel(Of ToolDefinition).Create" />
<MemberSignature Language="F#" Value="abstract member System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create : BinaryData * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.OpenAI.Assistants.ToolDefinition
override this.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create : BinaryData * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.OpenAI.Assistants.ToolDefinition" Usage="toolDefinition.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Create (data, options)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ClientModel.Primitives.IPersistableModel`1.Create(System.BinaryData,System.ClientModel.Primitives.ModelReaderWriterOptions)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.AI.OpenAI.Assistants.ToolDefinition</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="data" Type="System.BinaryData" />
<Parameter Name="options" Type="System.ClientModel.Primitives.ModelReaderWriterOptions" />
</Parameters>
<Docs>
<param name="data">The <see cref="T:System.BinaryData" /> to parse.</param>
<param name="options">The <see cref="T:System.ClientModel.Primitives.ModelReaderWriterOptions" /> to use.</param>
<summary>
Converts the provided <see cref="T:System.BinaryData" /> into a model.
</summary>
<returns>A <typeparamref name="T" /> representation of the data.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">If the model does not support the requested <see cref="P:System.ClientModel.Primitives.ModelReaderWriterOptions.Format" />.</exception>
</Docs>
</Member>
<Member MemberName="System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.GetFormatFromOptions">
<MemberSignature Language="C#" Value="string IPersistableModel<ToolDefinition>.GetFormatFromOptions (System.ClientModel.Primitives.ModelReaderWriterOptions options);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance string System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.GetFormatFromOptions(class System.ClientModel.Primitives.ModelReaderWriterOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.System#ClientModel#Primitives#IPersistableModel<Azure#AI#OpenAI#Assistants#ToolDefinition>#GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions)" />
<MemberSignature Language="VB.NET" Value="Function GetFormatFromOptions (options As ModelReaderWriterOptions) As String Implements IPersistableModel(Of ToolDefinition).GetFormatFromOptions" />
<MemberSignature Language="F#" Value="abstract member System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.GetFormatFromOptions : System.ClientModel.Primitives.ModelReaderWriterOptions -> string
override this.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.GetFormatFromOptions : System.ClientModel.Primitives.ModelReaderWriterOptions -> string" Usage="toolDefinition.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.GetFormatFromOptions options" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ClientModel.Primitives.IPersistableModel`1.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="options" Type="System.ClientModel.Primitives.ModelReaderWriterOptions" />
</Parameters>
<Docs>
<param name="options">To be added.</param>
<summary>
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.
<param name="options">The <see cref="T:System.ClientModel.Primitives.ModelReaderWriterOptions" /> to use.</param></summary>
<returns>The format that the model uses when communicating with the serivce.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write">
<MemberSignature Language="C#" Value="BinaryData IPersistableModel<ToolDefinition>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write(class System.ClientModel.Primitives.ModelReaderWriterOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.OpenAI.Assistants.ToolDefinition.System#ClientModel#Primitives#IPersistableModel<Azure#AI#OpenAI#Assistants#ToolDefinition>#Write(System.ClientModel.Primitives.ModelReaderWriterOptions)" />
<MemberSignature Language="VB.NET" Value="Function Write (options As ModelReaderWriterOptions) As BinaryData Implements IPersistableModel(Of ToolDefinition).Write" />
<MemberSignature Language="F#" Value="abstract member System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write : System.ClientModel.Primitives.ModelReaderWriterOptions -> BinaryData
override this.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write : System.ClientModel.Primitives.ModelReaderWriterOptions -> BinaryData" Usage="toolDefinition.System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.ToolDefinition>.Write options" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ClientModel.Primitives.IPersistableModel`1.Write(System.ClientModel.Primitives.ModelReaderWriterOptions)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Azure.AI.OpenAI.Assistants</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.BinaryData</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="options" Type="System.ClientModel.Primitives.ModelReaderWriterOptions" />
</Parameters>
<Docs>
<param name="options">The <see cref="T:System.ClientModel.Primitives.ModelReaderWriterOptions" /> to use.</param>
<summary>
Writes the model into a <see cref="T:System.BinaryData" />.
</summary>
<returns>A binary representation of the written model.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">If the model does not support the requested <see cref="P:System.ClientModel.Primitives.ModelReaderWriterOptions.Format" />.</exception>
</Docs>
</Member>
</Members>
</Type>