mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-17 18:21:06 +00:00
parent
88a8cfd9e4
commit
6baf1f7d83
3 changed files with 34 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ OpenAI Chat: gpt-4-1106-preview
|
|||
OpenAI Chat: gpt-4-0125-preview
|
||||
OpenAI Chat: gpt-4-turbo-2024-04-09
|
||||
OpenAI Chat: gpt-4-turbo (aliases: gpt-4-turbo-preview, 4-turbo, 4t)
|
||||
OpenAI Chat: o1
|
||||
OpenAI Chat: o1-2024-12-17
|
||||
OpenAI Chat: o1-preview
|
||||
OpenAI Chat: o1-mini
|
||||
OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instruct)
|
||||
|
|
|
|||
|
|
@ -471,6 +471,32 @@ OpenAI Chat: gpt-4-turbo (aliases: gpt-4-turbo-preview, 4-turbo, 4t)
|
|||
logit_bias: dict, str
|
||||
seed: int
|
||||
json_object: boolean
|
||||
OpenAI Chat: o1
|
||||
Options:
|
||||
temperature: float
|
||||
max_tokens: int
|
||||
top_p: float
|
||||
frequency_penalty: float
|
||||
presence_penalty: float
|
||||
stop: str
|
||||
logit_bias: dict, str
|
||||
seed: int
|
||||
json_object: boolean
|
||||
Attachment types:
|
||||
image/gif, image/jpeg, image/png, image/webp
|
||||
OpenAI Chat: o1-2024-12-17
|
||||
Options:
|
||||
temperature: float
|
||||
max_tokens: int
|
||||
top_p: float
|
||||
frequency_penalty: float
|
||||
presence_penalty: float
|
||||
stop: str
|
||||
logit_bias: dict, str
|
||||
seed: int
|
||||
json_object: boolean
|
||||
Attachment types:
|
||||
image/gif, image/jpeg, image/png, image/webp
|
||||
OpenAI Chat: o1-preview
|
||||
Options:
|
||||
temperature: float
|
||||
|
|
|
|||
|
|
@ -69,6 +69,12 @@ def register_models(register):
|
|||
aliases=("gpt-4-turbo-preview", "4-turbo", "4t"),
|
||||
)
|
||||
# o1
|
||||
for model_id in ("o1", "o1-2024-12-17"):
|
||||
register(
|
||||
Chat(model_id, vision=True),
|
||||
AsyncChat(model_id, vision=True),
|
||||
)
|
||||
|
||||
register(
|
||||
Chat("o1-preview", allows_system_prompt=False),
|
||||
AsyncChat("o1-preview", allows_system_prompt=False),
|
||||
|
|
|
|||
Loading…
Reference in a new issue