File tree Expand file tree Collapse file tree
docs/content/docs/development
integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai
python/flink_agents/integrations/chat_models/openai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ OpenAI provides cloud-based chat models with state-of-the-art performance for a
845845| Parameter | Type | Default | Description |
846846| -----------| ------| ---------| -------------|
847847| ` connection ` | str | Required | Reference to connection method name |
848- | ` model ` | str | ` "gpt-3.5-turbo " ` | Name of the chat model to use |
848+ | ` model ` | str | ` "gpt-4o-mini " ` | Name of the chat model to use |
849849| ` prompt ` | Prompt \| str | None | Prompt template or reference to prompt resource |
850850| ` tools ` | List[ str] | None | List of tool names available to the model |
851851| ` temperature ` | float | ` 0.1 ` | Sampling temperature (0.0 to 2.0) |
@@ -863,7 +863,7 @@ OpenAI provides cloud-based chat models with state-of-the-art performance for a
863863| Parameter | Type | Default | Description |
864864| -----------| ------| ---------| -------------|
865865| ` connection ` | String | Required | Reference to connection method name |
866- | ` model ` | String | ` "gpt-3.5-turbo " ` | Name of the chat model to use |
866+ | ` model ` | String | ` "gpt-4o-mini " ` | Name of the chat model to use |
867867| ` prompt ` | Prompt \| String | None | Prompt template or reference to prompt resource |
868868| ` tools ` | List<String > | None | List of tool names available to the model |
869869| ` temperature ` | double | ` 0.1 ` | Sampling temperature (0.0 to 2.0) |
Original file line number Diff line number Diff line change 5858 */
5959public class OpenAICompletionsSetup extends BaseChatModelSetup {
6060
61- private static final String DEFAULT_MODEL = "gpt-3.5-turbo " ;
61+ private static final String DEFAULT_MODEL = "gpt-4o-mini " ;
6262 private static final double DEFAULT_TEMPERATURE = 0.1d ;
6363 private static final int DEFAULT_TOP_LOGPROBS = 0 ;
6464 private static final boolean DEFAULT_STRICT = false ;
Original file line number Diff line number Diff line change 3535 resolve_openai_credentials ,
3636)
3737
38- DEFAULT_OPENAI_MODEL = "gpt-3.5-turbo "
38+ DEFAULT_OPENAI_MODEL = "gpt-4o-mini "
3939
4040
4141class OpenAIChatModelConnection (BaseChatModelConnection ):
You can’t perform that action at this time.
0 commit comments