Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"cliVersion": "0.109.1",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.34.0",
"generatorConfig": {
"pyproject_python_version": "^3.9",
"inline_request_params": false,
"extra_dependencies": {
"fastavro": "^1.9.4",
"requests": "^2.0.0",
"types-requests": "^2.0.0",
"tokenizers": ">=0.15,<1",
"httpx-sse": "^0.4.0"
},
"improved_imports": true,
"pydantic_config": {
"frozen": false,
"union_naming": "v1",
"require_optional_fields": false,
"extra_fields": "allow",
"use_str_enums": true,
"skip_validation": true
},
"timeout_in_seconds": 300,
"client": {
"class_name": "BaseCohere",
"filename": "base_client.py",
"exported_class_name": "Client",
"exported_filename": "client.py"
},
"additional_init_exports": [
{
"from": "client",
"imports": [
"Client",
"AsyncClient"
]
},
{
"from": "bedrock_client",
"imports": [
"BedrockClient",
"BedrockClientV2"
]
},
{
"from": "sagemaker_client",
"imports": [
"SagemakerClient",
"SagemakerClientV2"
]
},
{
"from": "aws_client",
"imports": [
"AwsClient"
]
},
{
"from": "client_v2",
"imports": [
"AsyncClientV2",
"ClientV2"
]
},
{
"from": "aliases",
"imports": [
"StreamedChatResponseV2",
"MessageStartStreamedChatResponseV2",
"MessageEndStreamedChatResponseV2",
"ContentStartStreamedChatResponseV2",
"ContentDeltaStreamedChatResponseV2",
"ContentEndStreamedChatResponseV2",
"ToolCallStartStreamedChatResponseV2",
"ToolCallDeltaStreamedChatResponseV2",
"ToolCallEndStreamedChatResponseV2",
"ChatResponse"
]
}
]
}
}
340 changes: 192 additions & 148 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cohere"

[tool.poetry]
name = "cohere"
version = "5.20.0"
version = "5.20.1"
description = ""
readme = "README.md"
authors = []
Expand Down Expand Up @@ -31,16 +31,16 @@ packages = [
{ include = "cohere", from = "src"}
]

[project.urls]
[tool.poetry.urls]
Repository = 'https://github.com/cohere-ai/cohere-python'

[tool.poetry.dependencies]
python = "^3.9"
fastavro = "^1.9.4"
httpx = ">=0.21.2"
httpx-sse = "0.4.0"
httpx-sse = "^0.4.0"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
pydantic-core = ">=2.18.2"
requests = "^2.0.0"
tokenizers = ">=0.15,<1"
types-requests = "^2.0.0"
Expand Down
Loading
Loading