forked from TaskingAI/TaskingAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update inference some providers
- Loading branch information
Showing
14 changed files
with
105 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
inference/providers/azure_openai/resources/models/gpt-4o-mini.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
model_schema_id: azure_openai/gpt-4o-mini | ||
provider_model_id: gpt-4o-mini | ||
type: chat_completion | ||
name: "i18n:gpt_4o_mini_name" | ||
description: "i18n:gpt_4o_mini_description" | ||
|
||
properties: | ||
function_call: true | ||
streaming: true | ||
input_token_limit: 128000 | ||
output_token_limit: 4096 | ||
|
||
config_schemas: | ||
- config_id: temperature | ||
- config_id: top_p | ||
- config_id: presence_penalty | ||
type: float | ||
default: 0.0 | ||
min: -2.0 | ||
max: 2.0 | ||
step: 0.1 | ||
- config_id: frequency_penalty | ||
type: float | ||
default: 0.0 | ||
min: -2.0 | ||
max: 2.0 | ||
step: 0.01 | ||
- config_id: max_tokens | ||
type: int | ||
default: 4096 | ||
min: 1 | ||
max: 4096 | ||
step: 1 | ||
- config_id: stop | ||
|
||
pricing: | ||
input_token: 0.005 | ||
output_token: 0.015 | ||
unit: 1000 | ||
currency: USD |
40 changes: 40 additions & 0 deletions
40
inference/providers/azure_openai/resources/models/gpt-4o.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
model_schema_id: azure_openai/gpt-4o | ||
provider_model_id: gpt-4o | ||
type: chat_completion | ||
name: "i18n:gpt_4o_name" | ||
description: "i18n:gpt_4o_description" | ||
|
||
properties: | ||
function_call: true | ||
streaming: true | ||
input_token_limit: 128000 | ||
output_token_limit: 4096 | ||
|
||
config_schemas: | ||
- config_id: temperature | ||
- config_id: top_p | ||
- config_id: presence_penalty | ||
type: float | ||
default: 0.0 | ||
min: -2.0 | ||
max: 2.0 | ||
step: 0.1 | ||
- config_id: frequency_penalty | ||
type: float | ||
default: 0.0 | ||
min: -2.0 | ||
max: 2.0 | ||
step: 0.01 | ||
- config_id: max_tokens | ||
type: int | ||
default: 4096 | ||
min: 1 | ||
max: 4096 | ||
step: 1 | ||
- config_id: stop | ||
|
||
pricing: | ||
input_token: 0.005 | ||
output_token: 0.015 | ||
unit: 1000 | ||
currency: USD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters