Skip to content

Commit

Permalink
Add documentation for the context parameter of the push_document method
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiyatcohere committed Sep 23, 2024
1 parent 4e3d74f commit 3e0adf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compass_sdk/compass.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def push_document(
:param filebytes: the bytes of the document
:param content_type: the content type of the document
:param document_id: the id of the document (optional)
:param context: represents an additional information about the document
:param max_retries: the maximum number of times to retry a request if it fails
:param sleep_retry_seconds: the number of seconds to wait before retrying an API request
:return: an error message if the request failed, otherwise None
Expand Down

0 comments on commit 3e0adf6

Please sign in to comment.