Skip to content

Commit 2de2ee2

Browse files
🌿 Fern Regeneration -- June 7, 2024 (#521)
* SDK regeneration * fixes --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Billy Trend <[email protected]>
1 parent 74c3022 commit 2de2ee2

19 files changed

+984
-2578
lines changed

poetry.lock

Lines changed: 52 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cohere"
3-
version = "5.5.5"
3+
version = "5.5.6"
44
description = ""
55
readme = "README.md"
66
authors = []
@@ -39,17 +39,20 @@ boto3 = "^1.34.0"
3939
fastavro = "^1.9.4"
4040
httpx = ">=0.21.2"
4141
httpx-sse = "^0.4.0"
42+
parameterized = "^0.9.0"
4243
pydantic = ">= 1.9.2"
4344
requests = "^2.0.0"
4445
tokenizers = "^0.15"
4546
types-requests = "^2.0.0"
4647
typing_extensions = ">= 4.0.0"
4748

4849
[tool.poetry.dev-dependencies]
49-
mypy = "1.9.0"
50+
mypy = "1.0.1"
5051
pytest = "^7.4.0"
5152
pytest-asyncio = "^0.23.5"
5253
python-dateutil = "^2.9.0"
54+
types-python-dateutil = "^2.9.0.20240316"
55+
parameterized = "^0.9.0"
5356

5457
[tool.pytest.ini_options]
5558
testpaths = [ "tests" ]

src/cohere/__init__.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
ChatRequestCitationQuality,
1616
ChatRequestConnectorsSearchOptions,
1717
ChatRequestPromptTruncation,
18-
ChatRequestResponseFormat,
1918
ChatSearchQueriesGenerationEvent,
2019
ChatSearchQuery,
2120
ChatSearchResult,
@@ -27,7 +26,6 @@
2726
ChatStreamRequestCitationQuality,
2827
ChatStreamRequestConnectorsSearchOptions,
2928
ChatStreamRequestPromptTruncation,
30-
ChatStreamRequestResponseFormat,
3129
ChatStreamStartEvent,
3230
ChatTextGenerationEvent,
3331
ChatToolCallsGenerationEvent,
@@ -138,9 +136,8 @@
138136
UnauthorizedError,
139137
)
140138
from . import connectors, datasets, embed_jobs, finetuning, models
141-
from .bedrock_client import BedrockClient
142-
from .sagemaker_client import SagemakerClient
143139
from .aws_client import AwsClient
140+
from .bedrock_client import BedrockClient
144141
from .client import AsyncClient, Client
145142
from .datasets import (
146143
DatasetsCreateResponse,
@@ -151,6 +148,7 @@
151148
)
152149
from .embed_jobs import CreateEmbedJobRequestTruncate
153150
from .environment import ClientEnvironment
151+
from .sagemaker_client import SagemakerClient
154152
from .version import __version__
155153

156154
__all__ = [
@@ -160,6 +158,7 @@
160158
"ApiMetaTokens",
161159
"AsyncClient",
162160
"AuthTokenType",
161+
"AwsClient",
163162
"BadRequestError",
164163
"BedrockClient",
165164
"ChatCitation",
@@ -171,7 +170,6 @@
171170
"ChatRequestCitationQuality",
172171
"ChatRequestConnectorsSearchOptions",
173172
"ChatRequestPromptTruncation",
174-
"ChatRequestResponseFormat",
175173
"ChatSearchQueriesGenerationEvent",
176174
"ChatSearchQuery",
177175
"ChatSearchResult",
@@ -183,7 +181,6 @@
183181
"ChatStreamRequestCitationQuality",
184182
"ChatStreamRequestConnectorsSearchOptions",
185183
"ChatStreamRequestPromptTruncation",
186-
"ChatStreamRequestResponseFormat",
187184
"ChatStreamStartEvent",
188185
"ChatTextGenerationEvent",
189186
"ChatToolCallsGenerationEvent",
@@ -271,6 +268,7 @@
271268
"RerankResponseResultsItem",
272269
"RerankResponseResultsItemDocument",
273270
"RerankerDataMetrics",
271+
"SagemakerClient",
274272
"ServiceUnavailableError",
275273
"SingleGeneration",
276274
"SingleGenerationInStream",

0 commit comments

Comments
 (0)