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": "daeb1ea", "specHash": "88cd5aa", "version": "10.16.0" }
{ "engineHash": "daeb1ea", "specHash": "c5a35a6", "version": "10.16.0" }
4 changes: 2 additions & 2 deletions box_sdk_gen/managers/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,9 @@ def create_ai_extract_structured(
:param fields: The fields to be extracted from the provided items.
For your request to work, you must provide either `metadata_template` or `fields`, but not both., defaults to None
:type fields: Optional[List[CreateAiExtractStructuredFields]], optional
:param include_confidence_score: A flag to indicate whether confidence scores for every extracted field should be returned., defaults to None
:param include_confidence_score: A flag to indicate whether confidence scores for every extracted field should be returned. Estimates the likelihood that an extracted metadata field value is accurate and correct. Displays a numerical and categorical confidence score to help users and automated systems quickly determine extraction reliability., defaults to None
:type include_confidence_score: Optional[bool], optional
:param include_reference: A flag to indicate whether references for every extracted field should be returned., defaults to None
:param include_reference: A flag to indicate whether references for every extracted field should be returned. References and bounding boxes show where the agent extracted the metadata from. They help you check for accuracy and fix any mistakes. References are short, exact quotes from the original document used to verify results. Bounding boxes highlight the specific areas on the page where that text is found., defaults to None
:type include_reference: Optional[bool], optional
:param taxonomy_sources: The taxonomy sources to be used for the structured extraction. They can either be an existing file or a taxonomy.
For your request to work, `fields` must also be provided. `taxonomy_sources` is not supported with `metadata_template`., defaults to None
Expand Down
4 changes: 2 additions & 2 deletions box_sdk_gen/schemas/ai_extract_structured.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def __init__(
:param fields: The fields to be extracted from the provided items.
For your request to work, you must provide either `metadata_template` or `fields`, but not both., defaults to None
:type fields: Optional[List[AiExtractStructuredFieldsField]], optional
:param include_confidence_score: A flag to indicate whether confidence scores for every extracted field should be returned., defaults to None
:param include_confidence_score: A flag to indicate whether confidence scores for every extracted field should be returned. Estimates the likelihood that an extracted metadata field value is accurate and correct. Displays a numerical and categorical confidence score to help users and automated systems quickly determine extraction reliability., defaults to None
:type include_confidence_score: Optional[bool], optional
:param include_reference: A flag to indicate whether references for every extracted field should be returned., defaults to None
:param include_reference: A flag to indicate whether references for every extracted field should be returned. References and bounding boxes show where the agent extracted the metadata from. They help you check for accuracy and fix any mistakes. References are short, exact quotes from the original document used to verify results. Bounding boxes highlight the specific areas on the page where that text is found., defaults to None
:type include_reference: Optional[bool], optional
:param taxonomy_sources: The taxonomy sources to be used for the structured extraction. They can either be an existing file or a taxonomy.
For your request to work, `fields` must also be provided. `taxonomy_sources` is not supported with `metadata_template`., defaults to None
Expand Down
6 changes: 3 additions & 3 deletions box_sdk_gen/schemas/collaboration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.schemas.file import File
from box_sdk_gen.schemas.file_mini import FileMini

from box_sdk_gen.schemas.folder import Folder
from box_sdk_gen.schemas.folder_mini import FolderMini

from box_sdk_gen.schemas.web_link import WebLink
from box_sdk_gen.schemas.web_link_mini import WebLinkMini

from box_sdk_gen.schemas.group_mini import GroupMini

Expand Down
8 changes: 4 additions & 4 deletions box_sdk_gen/schemas/collaboration_item.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from typing import Union

from box_sdk_gen.schemas.file import File
from box_sdk_gen.schemas.file_mini import FileMini

from box_sdk_gen.schemas.folder import Folder
from box_sdk_gen.schemas.folder_mini import FolderMini

from box_sdk_gen.schemas.web_link import WebLink
from box_sdk_gen.schemas.web_link_mini import WebLinkMini

from box_sdk_gen.box.errors import BoxSDKError

CollaborationItem = Union[File, Folder, WebLink]
CollaborationItem = Union[FileMini, FolderMini, WebLinkMini]
4 changes: 2 additions & 2 deletions docs/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ client.ai.create_ai_extract_structured(
- ai_agent `Optional[AiExtractStructuredAgent]`

- include_confidence_score `Optional[bool]`
- A flag to indicate whether confidence scores for every extracted field should be returned.
- A flag to indicate whether confidence scores for every extracted field should be returned. Estimates the likelihood that an extracted metadata field value is accurate and correct. Displays a numerical and categorical confidence score to help users and automated systems quickly determine extraction reliability.
- include_reference `Optional[bool]`
- A flag to indicate whether references for every extracted field should be returned.
- A flag to indicate whether references for every extracted field should be returned. References and bounding boxes show where the agent extracted the metadata from. They help you check for accuracy and fix any mistakes. References are short, exact quotes from the original document used to verify results. Bounding boxes highlight the specific areas on the page where that text is found.
- taxonomy_sources `Optional[List[AiTaxonomySource]]`
- The taxonomy sources to be used for the structured extraction. They can either be an existing file or a taxonomy. For your request to work, `fields` must also be provided. `taxonomy_sources` is not supported with `metadata_template`.
- extra_headers `Optional[Dict[str, Optional[str]]]`
Expand Down
Loading