Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "c571efa", "specHash": "f899bf6", "version": "10.8.0" }
{ "engineHash": "c571efa", "specHash": "65c9c57", "version": "10.8.0" }
14 changes: 6 additions & 8 deletions box_sdk_gen/schemas/ai_agent_reference.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from enum import Enum

from typing import Optional

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.box.errors import BoxSDKError
Expand All @@ -16,19 +14,19 @@ class AiAgentReference(BaseObject):

def __init__(
self,
id: str,
*,
type: AiAgentReferenceTypeField = AiAgentReferenceTypeField.AI_AGENT_ID,
id: Optional[str] = None,
**kwargs
):
"""
:param type: The type of AI agent used to handle queries., defaults to AiAgentReferenceTypeField.AI_AGENT_ID
:type type: AiAgentReferenceTypeField, optional
:param id: The ID of an Agent. This can be a numeric ID for custom agents (for example, `14031`)
or a unique identifier for pre-built agents (for example, `enhanced_extract_agent`
for the [Enhanced Extract Agent](https://developer.box.com/guides/box-ai/ai-tutorials/extract-metadata-structured#enhanced-extract-agent))., defaults to None
:type id: Optional[str], optional
for the [Enhanced Extract Agent](https://developer.box.com/guides/box-ai/ai-tutorials/extract-metadata-structured#enhanced-extract-agent)).
:type id: str
:param type: The type of AI agent used to handle queries., defaults to AiAgentReferenceTypeField.AI_AGENT_ID
:type type: AiAgentReferenceTypeField, optional
"""
super().__init__(**kwargs)
self.type = type
self.id = id
self.type = type
Loading