-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
92 additions
and
8 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
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
21 changes: 21 additions & 0 deletions
21
taskingai/client/models/entities/chat_completion_function_parameters_property_items.py
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# chat_completion_function_parameters_property_items.py | ||
|
||
""" | ||
This script is automatically generated for TaskingAI python client | ||
Do not modify the file manually | ||
Author: James Yao | ||
Organization: TaskingAI | ||
License: Apache 2.0 | ||
""" | ||
|
||
from pydantic import BaseModel, Field | ||
|
||
|
||
__all__ = ["ChatCompletionFunctionParametersPropertyItems"] | ||
|
||
|
||
class ChatCompletionFunctionParametersPropertyItems(BaseModel): | ||
type: str = Field(..., pattern="^(string|number|integer|boolean)$") |
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,22 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# chat_completion_usage.py | ||
|
||
""" | ||
This script is automatically generated for TaskingAI python client | ||
Do not modify the file manually | ||
Author: James Yao | ||
Organization: TaskingAI | ||
License: Apache 2.0 | ||
""" | ||
|
||
from pydantic import BaseModel, Field | ||
|
||
|
||
__all__ = ["ChatCompletionUsage"] | ||
|
||
|
||
class ChatCompletionUsage(BaseModel): | ||
input_tokens: int = Field(...) | ||
output_tokens: int = Field(...) |
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# text_embedding_usage.py | ||
|
||
""" | ||
This script is automatically generated for TaskingAI python client | ||
Do not modify the file manually | ||
Author: James Yao | ||
Organization: TaskingAI | ||
License: Apache 2.0 | ||
""" | ||
|
||
from pydantic import BaseModel, Field | ||
|
||
|
||
__all__ = ["TextEmbeddingUsage"] | ||
|
||
|
||
class TextEmbeddingUsage(BaseModel): | ||
input_tokens: int = Field(...) |
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