Skip to content

OpenAIGPT

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ implementationNoconstNo-Implementation
- modelNoReference[LLMModel]No--
- temperatureNonumberNo-Temperature
- force_jsonNobooleanNo-Force Json
- max_tokensNointegerNo-Max Tokens
- supports_system_messagesNobooleanNo-Supports System Messages
- can_streamNobooleanNo-Can Stream
- client_argsNoobjectNo-Client Args
- connection_handlerNoReference[OpenAIConnectionHandler]No--

1. Property implementation

Title: Implementation

Typeconst
RequiredYes

Specific value: "OpenAIGPT"

2. Property model

TypeReference[LLMModel]
RequiredNo
Default{"implementation": "eidolon_ai_sdk.apu.llm_unit.LLMModel"}

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

Typeinteger
RequiredNo
Defaultnull

6. Property supports_system_messages

Title: Supports System Messages

Typeboolean
RequiredNo
Defaulttrue

7. Property can_stream

Title: Can Stream

Typeboolean
RequiredNo
Defaulttrue

8. Property client_args

Title: Client Args

Typeobject
RequiredNo
Additional properties[Any type: allowed]
Default{}

9. Property connection_handler

TypeReference[OpenAIConnectionHandler]
RequiredNo
Defaultnull