You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cognite/client/_api/ai/tools/documents.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ def summarize(
18
18
external_id: str|None=None,
19
19
instance_id: NodeId|None=None,
20
20
) ->Summary:
21
-
"""`Summarize a document using a Large Language Model. <https://developer.cognite.com/api#tag/Document-AI/operation/document_questioning_api_v1_projects__projectName__ai_tools_documents_ask_post>`_
21
+
"""`Summarize a document using a Large Language Model. <https://api-docs.cognite.com/20230101/tag/Document-AI/operation/document_questioning_ai_tools_documents_ask_post>`_
22
22
23
23
Note:
24
24
Currently only supports summarizing a single document at a time, but
@@ -77,7 +77,7 @@ def ask_question(
77
77
additional_context: str|None=None,
78
78
ignore_unknown_ids: bool=False,
79
79
) ->Answer:
80
-
"""`Ask a question about one or more documents using a Large Language Model. <https://developer.cognite.com/api#tag/Document-AI/operation/documents_summary_api_v1_projects__projectName__ai_tools_documents_summarize_post>`_
80
+
"""`Ask a question about one or more documents using a Large Language Model. <https://api-docs.cognite.com/20230101/tag/Document-AI/operation/documents_summary_ai_tools_documents_summarize_post>`_
item (Annotation | AnnotationWrite | AnnotationUpdate | Sequence[Annotation | AnnotationWrite | AnnotationUpdate]): Annotation or list of annotations to update (or patch or list of patches to apply)
"""`Count of assets matching the specified filters. <https://developer.cognite.com/api#tag/Assets/operation/aggregateAssets>`_
319
+
"""`Count of assets matching the specified filters. <https://api-docs.cognite.com/20230101/tag/Assets/operation/aggregateAssets>`_
320
320
321
321
Args:
322
322
property (AssetPropertyLike | None): If specified, get an approximate number of asset with a specific property (property is not null) and matching the filters.
Advanced filter lets you create complex filtering expressions that combine simple operations,
859
859
such as equals, prefix, exists, etc., using boolean operators and, or, and not.
@@ -920,7 +920,7 @@ def search(
920
920
filter: AssetFilter|dict[str, Any] |None=None,
921
921
limit: int=DEFAULT_LIMIT_READ,
922
922
) ->AssetList:
923
-
"""`Search for assets <https://developer.cognite.com/api#tag/Assets/operation/searchAssets>`_
923
+
"""`Search for assets <https://api-docs.cognite.com/20230101/tag/Assets/operation/searchAssets>`_
924
924
Primarily meant for human-centric use-cases and data exploration, not for programs, since matching and ordering may change over time. Use the `list` function if stable or exact matches are required.
0 commit comments