Is there a way to set stopSequences? I can see the option in the Typescript and Python APIs but not .NET
Closed this issue · 2 comments
sashababayan commented
Confirm this is not a feature request for the underlying OpenAI API.
- This is not a feature request for the underlying OpenAI API
Confirm this is not a feature request for Azure OpenAI.
- This is not a feature request for Azure OpenAI
Describe the feature or improvement you're requesting
I would like to set stopSequences but it appears to be read only
Additional context
No response
joseharriaga commented
Thank you for reaching out, @sashababayan . StopSequences
is already initialized. You can add and remove elements directly like this:
ChatCompletionOptions options = new();
options.StopSequences.Add("foo");
sashababayan commented
thanks!