Skip to content

OpenAIGPT

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-OpenAIGPT
- modelNoReference[LLMModel]No-LLMModel
- temperatureNonumberNo-Temperature
- force_jsonNobooleanNo-Force Json
- max_tokensNoCombinationNo-Max Tokens
- connection_handlerNoReference[OpenAIConnectionHandler]No-OpenAIConnectionHandler

1. Property implementation

Typeconst
RequiredNo

Description: OpenAIGPT

Specific value: "OpenAIGPT"

2. Property model

Title: LLMModel

Type[Reference[LLMModel]](/docs/components/llmmodel/overview)
RequiredNo
Default{"implementation": "LLMModel"}

Description: Overview of LLMModel components

3. Property temperature

Title: Temperature

Typenumber
RequiredNo
Default0.3

4. Property force_json

Title: Force Json

Typeboolean
RequiredNo
Defaulttrue

5. Property max_tokens

Title: Max Tokens

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Defaultnull
Any of(Option)
item 0
item 1

5.1. Property item 0

Typeinteger
RequiredNo

5.2. Property item 1

Typenull
RequiredNo

6. Property connection_handler

Title: OpenAIConnectionHandler

Type[Reference[OpenAIConnectionHandler]](/docs/components/openaiconnectionhandler/overview)
RequiredNo
Default{"implementation": "OpenAIConnectionHandler"}

Description: Overview of OpenAIConnectionHandler components