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
**collection_id:**`typing.Optional[str]` — If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
941
+
**collection_id:**`typing.Optional[str]` — If specified, the document will also be added to the provided document collection. This operation is eventually consistent, meaning the document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To achieve strong consistency use the `awaitVectorStoreSync` parameter.
**await_vector_store_sync:**`typing.Optional[bool]` — If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
965
+
**await_vector_store_sync:**`typing.Optional[bool]` — Document uploads are eventually consistent by default. If specified`true` the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
Copy file name to clipboardExpand all lines: src/credal/document_catalog/client.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ def upload_document_contents(
70
70
Optional JSON representing any custom metadata for this document
71
71
72
72
collection_id : typing.Optional[str]
73
-
If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
73
+
If specified, the document will also be added to the provided document collection. This operation is eventually consistent, meaning the document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To achieve strong consistency use the `awaitVectorStoreSync` parameter.
74
74
75
75
force_update : typing.Optional[bool]
76
76
If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal
@@ -79,7 +79,7 @@ def upload_document_contents(
79
79
If specified, document will be accessible to everyone within the organization of the uploader
80
80
81
81
await_vector_store_sync : typing.Optional[bool]
82
-
If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
82
+
Document uploads are eventually consistent by default. If specified `true` the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
Optional JSON representing any custom metadata for this document
270
270
271
271
collection_id : typing.Optional[str]
272
-
If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
272
+
If specified, the document will also be added to the provided document collection. This operation is eventually consistent, meaning the document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To achieve strong consistency use the `awaitVectorStoreSync` parameter.
273
273
274
274
force_update : typing.Optional[bool]
275
275
If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal
If specified, document will be accessible to everyone within the organization of the uploader
279
279
280
280
await_vector_store_sync : typing.Optional[bool]
281
-
If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
281
+
Document uploads are eventually consistent by default. If specified `true` the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
Copy file name to clipboardExpand all lines: src/credal/document_catalog/raw_client.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ def upload_document_contents(
63
63
Optional JSON representing any custom metadata for this document
64
64
65
65
collection_id : typing.Optional[str]
66
-
If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
66
+
If specified, the document will also be added to the provided document collection. This operation is eventually consistent, meaning the document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To achieve strong consistency use the `awaitVectorStoreSync` parameter.
67
67
68
68
force_update : typing.Optional[bool]
69
69
If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal
@@ -72,7 +72,7 @@ def upload_document_contents(
72
72
If specified, document will be accessible to everyone within the organization of the uploader
73
73
74
74
await_vector_store_sync : typing.Optional[bool]
75
-
If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
75
+
Document uploads are eventually consistent by default. If specified `true` the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
Optional JSON representing any custom metadata for this document
251
251
252
252
collection_id : typing.Optional[str]
253
-
If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
253
+
If specified, the document will also be added to the provided document collection. This operation is eventually consistent, meaning the document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To achieve strong consistency use the `awaitVectorStoreSync` parameter.
254
254
255
255
force_update : typing.Optional[bool]
256
256
If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal
If specified, document will be accessible to everyone within the organization of the uploader
260
260
261
261
await_vector_store_sync : typing.Optional[bool]
262
-
If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
262
+
Document uploads are eventually consistent by default. If specified `true` the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
0 commit comments