-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
1c54bf5
commit 351a5b8
Showing
7 changed files
with
76 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "f073ce3", "specHash": "544d370", "version": "1.8.0" } | ||
{ "engineHash": "a839036", "specHash": "d7dfe68", "version": "1.8.0" } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
from typing import Optional | ||
|
||
from box_sdk_gen.internal.base_object import BaseObject | ||
|
||
from typing import List | ||
|
||
from box_sdk_gen.box.errors import BoxSDKError | ||
|
||
|
||
class AiAgentInfoModelsField(BaseObject): | ||
def __init__( | ||
self, | ||
*, | ||
name: Optional[str] = None, | ||
provider: Optional[str] = None, | ||
supported_purpose: Optional[str] = None, | ||
**kwargs | ||
): | ||
""" | ||
:param name: The name of the model used for the request, defaults to None | ||
:type name: Optional[str], optional | ||
:param provider: The provider that owns the model used for the request, defaults to None | ||
:type provider: Optional[str], optional | ||
:param supported_purpose: The supported purpose utilized by the model used for the request, defaults to None | ||
:type supported_purpose: Optional[str], optional | ||
""" | ||
super().__init__(**kwargs) | ||
self.name = name | ||
self.provider = provider | ||
self.supported_purpose = supported_purpose | ||
|
||
|
||
class AiAgentInfo(BaseObject): | ||
def __init__( | ||
self, | ||
*, | ||
models: Optional[List[AiAgentInfoModelsField]] = None, | ||
processor: Optional[str] = None, | ||
**kwargs | ||
): | ||
""" | ||
:param models: The models used for the request, defaults to None | ||
:type models: Optional[List[AiAgentInfoModelsField]], optional | ||
:param processor: The processor used for the request, defaults to None | ||
:type processor: Optional[str], optional | ||
""" | ||
super().__init__(**kwargs) | ||
self.models = models | ||
self.processor = processor |
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