Support store and metadata OpenAI chat options
- Add store and metadata as OpenAI Chat options - Add test - Add docs Resolves #2103
This commit is contained in:
committed by
Mark Pollack
parent
fe323fbad1
commit
b08b9e8cf4
@@ -107,6 +107,8 @@ The prefix `spring.ai.openai.chat` is the property prefix that lets you configur
|
||||
| spring.ai.openai.chat.options.maxTokens | (Deprecated in favour of `maxCompletionTokens`) The maximum number of tokens to generate in the chat completion. The total length of input tokens and generated tokens is limited by the model's context length. | -
|
||||
| spring.ai.openai.chat.options.maxCompletionTokens | An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens. | -
|
||||
| spring.ai.openai.chat.options.n | How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as 1 to minimize costs. | 1
|
||||
| spring.ai.openai.chat.options.store | Whether to store the output of this chat completion request for use in our model | false
|
||||
| spring.ai.openai.chat.options.metadata | Developer-defined tags and values used for filtering completions in the chat completion dashboard | empty map
|
||||
| spring.ai.openai.chat.options.output-modalities | Output types that you would like the model to generate for this request. Most models are capable of generating text, which is the default.
|
||||
The `gpt-4o-audio-preview` model can also be used to generate audio. To request that this model generate both text and audio responses,
|
||||
you can use: `text`, `audio`. Not supported for streaming. | -
|
||||
|
||||
Reference in New Issue
Block a user