openai-scala-core
openai-scala-core
API
io.cequence.openaiscala
JsonFormats
OpenAIScalaClientException
OpenAIScalaClientTimeoutException
OpenAIScalaClientUnknownHostException
OpenAIScalaEngineOverloadedException
OpenAIScalaRateLimitException
OpenAIScalaServerErrorException
OpenAIScalaTokenCountExceededException
OpenAIScalaUnauthorizedException
RetryHelpers
RetrySettings
RetrySettings
RetryHelpers
FutureWithRetry
Retryable
io.cequence.openaiscala.domain
AssistantFunMessage
AssistantId
AssistantMessage
AssistantTool
AssistantTool
CodeInterpreterTool
FileSearchTool
FunctionTool
AssistantToolMessage
AssistantToolOutput
AssistantToolResource
AssistantToolResource
CodeInterpreterResources
FileSearchResources
VectorStore
VectorStore
Attachment
Attachment
BaseMessage
Batch
Batch
BatchEndpoint
BatchEndpoint
/v1/chat/completions
/v1/embeddings
BatchProcessingError
BatchProcessingErrors
BatchRow
BatchRow
BatchRowBase
CompletionWindow
CompletionWindow
24h
ChatCompletionTool
ChatRole
ChatRole
Assistant
Function
System
Tool
User
ChunkingStrategy
ChunkingStrategy
AutoChunkingStrategy
StaticChunkingStrategy
StaticChunkingStrategy
Content
FileAnnotation
FileAnnotationType
FileAnnotationType
file_citation
file_path
FileCitation
FileCounts
FileId
FineTune
Integration
WeightsAndBiases
FunMessage
FunctionCallSpec
ImageURLContent
JsonSchema
JsonSchema
Array
Boolean
Null
Number
Object
String
JsonType
Array
Boolean
Null
Number
Object
String
JsonType
LastError
LastErrorCode
LastErrorCode
RateLimitExceeded
ServerError
MessageAttachmentTool
MessageAttachmentTool
CodeInterpreterSpec
FileSearchSpec
MessageSpec
ModelId
NonOpenAIModelId
Pagination
Pagination
ProviderSettings
RequiredAction
Run
Run
LastErrorCode
InvalidPrompt
RateLimitExceeded
ServerError
LastErrorCode
Reason
TruncationStrategy
TruncationStrategyType
Auto
LastMessages
TruncationStrategyType
RunStatus
RunStatus
Cancelled
Cancelling
Completed
Expired
Failed
InProgress
Incomplete
Queued
RequiresAction
RunStep
RunStep
RunTool
RunTool
CodeInterpreterTool
FileSearchTool
FunctionTool
SortOrder
SortOrder
asc
desc
StepDetail
StepDetail
MessageCreation
ToolCalls
SubmitToolOutputs
SystemMessage
TextContent
Thread
ThreadAndRun
ThreadAndRun
Content
ContentBlock
ImageDetail
Auto
High
Low
ImageDetail
ImageFileBlock
ImageFileDetail
ImageUrl
TextBlock
ContentBlock
ContentBlocks
SingleString
Content
Message
Message
AssistantMessage
AssistantMessageContent
UserMessage
UserMessageContent
ThreadAndRunRole
ThreadAndRunToolResource
ThreadAndRunToolResource
CodeInterpreterResource
FileSearchResource
ThreadFullMessage
ThreadMessage
ThreadMessageContent
ThreadMessageContentType
ThreadMessageContentType
image_file
text
ThreadMessageFile
ThreadMessageText
ToolCall
ToolCallSpec
ToolChoice
ToolChoice
Auto
EnforcedTool
None
Required
ToolMessage
UserMessage
UserSeqMessage
VectorStore
VectorStoreFile
VectorStoreFileStatus
VectorStoreFileStatus
Cancelled
Completed
Failed
InProgress
io.cequence.openaiscala.domain.response
Assistant
AssistantToolResourceResponse
AssistantToolResourceResponse
CodeInterpreterResourcesResponse
FileSearchResourcesResponse
BaseChatCompletionChoiceInfo
BaseChatCompletionResponse
BatchError
BatchResponse
ChatCompletionBatchResponse
ChatCompletionChoiceChunkInfo
ChatCompletionChoiceInfo
ChatCompletionChunkResponse
ChatCompletionResponse
ChatFunCompletionChoiceInfo
ChatFunCompletionResponse
ChatToolCompletionChoiceInfo
ChatToolCompletionResponse
ChunkMessageSpec
CreateBatchResponse
CreateBatchResponses
DeleteResponse
DeleteResponse
Deleted
NotDeleted
NotFound
EmbeddingBatchResponse
EmbeddingInfo
EmbeddingResponse
EmbeddingUsageInfo
FileInfo
FileStatistics
FineTuneCheckpoint
FineTuneError
FineTuneEvent
FineTuneHyperparams
FineTuneJob
ImageInfo
LogprobInfo
Logprobs
LogprobsInfo
Metrics
ModelInfo
ModerationCategories
ModerationCategoryScores
ModerationResponse
ModerationResult
Permission
ResponseFormat
ResponseFormat
JsonObjectResponse
StringResponse
TextResponse
ResponseStringMarshaller
RunResponse
TextCompletionChoiceInfo
TextCompletionResponse
TextEditChoiceInfo
TextEditResponse
TopLogprobInfo
TranscriptResponse
UsageInfo
io.cequence.openaiscala.domain.settings
ChatCompletionResponseFormatType
ChatCompletionResponseFormatType
json_object
json_schema
text
CreateChatCompletionSettings
CreateCompletionSettings
CreateEditSettings
CreateEmbeddingsSettings
CreateFineTuneSettings
CreateImageEditSettings
CreateImageSettings
CreateModerationSettings
CreateRunSettings
CreateSpeechSettings
CreateThreadAndRunSettings
CreateTranscriptionSettings
CreateTranslationSettings
EmbeddingsEncodingFormat
EmbeddingsEncodingFormat
base64
float
FileUploadPurpose
FileUploadPurpose
assistants
batch
fine-tune
ImageQualityType
ImageQualityType
hd
standard
ImageResponseFormatType
ImageResponseFormatType
b64_json
url
ImageSizeType
ImageSizeType
Large
LargeLandscape
LargePortrait
Medium
Small
ImageStyleType
ImageStyleType
natural
vivid
JsonSchemaDef
JsonSchemaDef
SpeechResponseFormatType
SpeechResponseFormatType
aac
flac
mp3
opus
TranscriptResponseFormatType
TranscriptResponseFormatType
json
srt
text
verbose_json
vtt
VoiceType
VoiceType
alloy
echo
fable
nova
onyx
shimmer
io.cequence.openaiscala.service
ChatProviderSettings
OpenAIChatCompletionService
OpenAIChatCompletionStreamedServiceExtra
OpenAICompletionService
OpenAICoreService
OpenAIService
OpenAIServiceConsts
DefaultSettings
OpenAIStreamedServiceExtra
ReflectionUtil
InfixOp
StreamedServiceTypes
io.cequence.openaiscala.service.adapter
ChatCompletionSettingsConversions
FieldConversionDef
DelegatedChatCompletionCloseableServiceWrapper
DelegatedCloseableServiceWrapper
FunctionNameHelper
MappedModel
MessageConversions
OpenAIChatCompletionServiceRouter
OpenAIChatCompletionServiceWrapper
OpenAICoreServiceWrapper
OpenAIServiceAdapters
OpenAIServiceAdapters
OpenAIServiceWrapper
ServiceWrapper
ServiceWrapperTypes
SimpleServiceWrapper
openai-scala-core
/
io.cequence.openaiscala.domain
/
ModelId
ModelId
io.cequence.openaiscala.domain.ModelId$
object
ModelId
OpenAI models available as of
2023-12-05
.
Attributes
Since:
Jan 2023
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
ModelId
.type
Clear all
Members list
Concise view
Value members
Concrete fields
val
ada
:
String
val
ada_2020_05_03
:
String
val
ada_code_search_code
:
String
val
ada_code_search_text
:
String
val
ada_search_document
:
String
val
ada_search_query
:
String
val
ada_similarity
:
String
val
audio_transcribe_001
:
String
val
audio_transcribe_deprecated
:
String
val
babbage
:
String
val
babbage_002
:
String
val
babbage_2020_05_03
:
String
val
babbage_code_search_code
:
String
val
babbage_code_search_text
:
String
val
babbage_search_document
:
String
val
babbage_search_query
:
String
val
babbage_similarity
:
String
val
canary_tts
:
String
val
canary_whisper
:
String
val
chatgpt_4o_latest
:
String
val
curie
:
String
val
curie_2020_05_03
:
String
val
curie_search_document
:
String
val
curie_search_query
:
String
val
curie_similarity
:
String
val
cushman_2020_05_03
:
String
val
dall_e_2
:
String
val
dall_e_3
:
String
val
davinci
:
String
val
davinci_002
:
String
val
davinci_2020_05_03
:
String
val
davinci_if_3_0_0
:
String
val
davinci_instruct_beta_2_0_0
:
String
val
davinci_search_document
:
String
val
davinci_search_query
:
String
val
davinci_similarity
:
String
val
gpt_3_5_turbo
:
String
val
gpt_3_5_turbo_0125
:
String
val
gpt_3_5_turbo_1106
:
String
val
gpt_3_5_turbo_16k
:
String
val
gpt_3_5_turbo_instruct
:
String
val
gpt_3_5_turbo_instruct_0914
:
String
val
gpt_4
:
String
val
gpt_4_0125_preview
:
String
val
gpt_4_0613
:
String
val
gpt_4_1106_preview
:
String
val
gpt_4_1106_vision_preview
:
String
val
gpt_4_32k
:
String
val
gpt_4_32k_0613
:
String
val
gpt_4_turbo
:
String
val
gpt_4_turbo_2024_04_09
:
String
val
gpt_4_turbo_preview
:
String
val
gpt_4_vision_preview
:
String
val
gpt_4o
:
String
val
gpt_4o_2024_05_13
:
String
val
gpt_4o_2024_08_06
:
String
val
gpt_4o_mini
:
String
val
gpt_4o_mini_2024_07_18
:
String
val
if_curie_v2
:
String
val
if_davinci_3_0_0
:
String
val
if_davinci_v2
:
String
val
o1_mini
:
String
val
o1_mini_2024_09_12
:
String
val
o1_preview
:
String
val
o1_preview_2024_09_12
:
String
val
text_embedding_3_large
:
String
val
text_embedding_3_small
:
String
val
text_embedding_ada_002
:
String
val
text_moderation_007
:
String
val
text_moderation_latest
:
String
val
text_moderation_stable
:
String
val
tts_1_1106
:
String
val
tts_1_hd
:
String
val
tts_1_hd_1106
:
String
val
whisper_1
:
String
val
whisper_1_2
:
String
Deprecated fields
@Deprecated
val
code_cushman_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_cushman_002
:
String
Attributes
Deprecated
true
@Deprecated
val
code_davinci_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_davinci_002
:
String
Attributes
Deprecated
true
@Deprecated
val
code_davinci_edit_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_search_ada_code_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_search_ada_text_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_search_babbage_code_001
:
String
Attributes
Deprecated
true
@Deprecated
val
code_search_babbage_text_001
:
String
Attributes
Deprecated
true
@Deprecated
val
curie_instruct_beta
:
String
Attributes
Deprecated
true
@Deprecated
val
davinci_instruct_beta
:
String
Attributes
Deprecated
true
@Deprecated
val
gpt_3_5_turbo_0301
:
String
Attributes
Deprecated
true
@Deprecated
val
gpt_3_5_turbo_0613
:
String
Attributes
Deprecated
true
@Deprecated
val
gpt_3_5_turbo_16k_0613
:
String
Attributes
Deprecated
true
@Deprecated
val
gpt_4_0314
:
String
Attributes
Deprecated
true
@Deprecated
val
gpt_4_32k_0314
:
String
Attributes
Deprecated
true
@Deprecated
val
text_ada_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_babbage_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_curie_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_002
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_003
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_edit_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_insert_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_davinci_insert_002
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_ada_doc_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_ada_query_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_babbage_doc_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_babbage_query_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_curie_doc_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_curie_query_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_davinci_doc_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_search_davinci_query_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_similarity_ada_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_similarity_babbage_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_similarity_curie_001
:
String
Attributes
Deprecated
true
@Deprecated
val
text_similarity_davinci_001
:
String
Attributes
Deprecated
true