When using OpenAI LLMs, you have the choice of using a built-in Graphlit model, which accrues credits for usage, or using your own OpenAI API key.
Graphlit currently supports built-in OpenAI models via the model field, such as: GPT35_TURBO, GPT35_TURBO_16K, GPT4, GPT4_32K, GPT4_TURBO_128K and GPT4O_128K. These models will always use the latest version, as defined by OpenAI.
Also, Graphlit supports date-versioned models, such as: GPT35_TURBO_0613, GPT35_TURBO_16K_0613, GPT35_TURBO_16K_1106, GPT4_0613, GPT4_32K_0613, and GPT4_TURBO_128K_1106.
As new models are released by OpenAI, Graphlit will add model enums in future releases.
See for the latest supported OpenAI model enums.
By assigning the model field to CUSTOM, you also will need to assign thekey and modelName to use your own OpenAI developer account. You can find the list of current OpenAI models , and use the model name syntax such as gpt-4.
Create Built-In Model Specification
Mutation:
mutation CreateSpecification($specification: SpecificationInput!) {
createSpecification(specification: $specification) {
id
name
state
type
serviceType
}
}
mutation CreateSpecification($specification: SpecificationInput!) {
createSpecification(specification: $specification) {
id
name
state
type
serviceType
}
}