Closed fern-api[bot] closed 2 months ago
This PR updates the Cohere Python SDK to version 5.5.6. It also includes changes to the following files:
src/cohere/__init__.py: Removes unused imports:
,
src/cohere/base_client.py
seed
float
int
urllib.parse
jsonable_encoder
encode_query
remove_none_from_dict
src/cohere/connectors/client.py
src/cohere/core/client_wrapper.py
src/cohere/core/http_client.py
request_options
remove_omit_from_dict
maybe_filter_request_body
request
stream
HttpClient
AsyncHttpClient
base_timeout
base_headers
base_url
src/cohere/datasets/client.py
src/cohere/embed_jobs/client.py
src/cohere/finetuning/client.py
src/cohere/models/client.py
This PR updates the Cohere Python SDK to version 5.5.6. It also includes changes to the following files:
src/cohere/__init__.py: Removes unused imports:
ChatRequestResponseFormat,
SagemakerClient,
urllib.parse`.src/cohere/base_client.py
seed
parameter type fromfloat
toint
.urllib.parse
,jsonable_encoder
,encode_query
,remove_none_from_dict
.src/cohere/connectors/client.py
urllib.parse
,encode_query
,remove_none_from_dict
.src/cohere/core/client_wrapper.py
src/cohere/core/http_client.py
urllib.parse
,jsonable_encoder
,encode_query
,remove_none_from_dict
,request_options
.remove_omit_from_dict
,maybe_filter_request_body
.request
andstream
methods to use the newremove_omit_from_dict
andmaybe_filter_request_body
functions.HttpClient
andAsyncHttpClient
classes to accept the following new parameters:base_timeout
,base_headers
,base_url
.src/cohere/datasets/client.py
urllib.parse
,encode_query
,remove_none_from_dict
.src/cohere/embed_jobs/client.py
urllib.parse
,encode_query
,remove_none_from_dict
.src/cohere/finetuning/client.py
urllib.parse
,encode_query
,remove_none_from_dict
.src/cohere/models/client.py
urllib.parse
,encode_query
,remove_none_from_dict
.