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
/// Gets or sets the fallback function callback used when a function does not have an explicit delegate.
86
88
/// </summary>
89
+
/// <remarks>Defaults to throwing to make the absence of a callback explicit.</remarks>
87
90
publicFunc<string,string,CancellationToken,ValueTask<object?>>DefaultFunctionCallback{get;set;}=(_,_,_)=>thrownewNotImplementedException("Function callback has not been implemented.");
Copy file name to clipboardExpand all lines: ChatAIze.GenerativeCS/Options/OpenAI/ChatCompletionOptions.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,7 @@ public ChatCompletionOptions(string model = DefaultModels.OpenAI.ChatCompletion,
130
130
/// <summary>
131
131
/// Gets or sets a value indicating whether function call and result messages before the latest user message should be removed.
132
132
/// </summary>
133
+
/// <remarks>Use when continuing an existing chat but wanting the model to ignore earlier tool interactions and only consider the latest user turn.</remarks>
/// Gets or sets the fallback function callback used when a function does not have an explicit delegate; should return a string or serializable object.
167
169
/// </summary>
170
+
/// <remarks>Defaults to throwing to make the absence of a callback explicit.</remarks>
168
171
publicFunc<string,string,CancellationToken,ValueTask<object?>>DefaultFunctionCallback{get;set;}=(_,_,_)=>thrownewNotImplementedException("Function callback has not been implemented.");
0 commit comments