@@ -53,9 +53,9 @@ def list(
5353
5454 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
5555 ---
56- from cohere.client import Cohere
56+ from cohere.client import Client
5757
58- client = Cohere (
58+ client = Client (
5959 client_name="YOUR_CLIENT_NAME",
6060 token="YOUR_TOKEN",
6161 )
@@ -140,9 +140,9 @@ def create(
140140
141141 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
142142 ---
143- from cohere.client import Cohere
143+ from cohere.client import Client
144144
145- client = Cohere (
145+ client = Client (
146146 client_name="YOUR_CLIENT_NAME",
147147 token="YOUR_TOKEN",
148148 )
@@ -215,9 +215,9 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
215215
216216 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
217217 ---
218- from cohere.client import Cohere
218+ from cohere.client import Client
219219
220- client = Cohere (
220+ client = Client (
221221 client_name="YOUR_CLIENT_NAME",
222222 token="YOUR_TOKEN",
223223 )
@@ -270,9 +270,9 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] =
270270
271271 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
272272 ---
273- from cohere.client import Cohere
273+ from cohere.client import Client
274274
275- client = Cohere (
275+ client = Client (
276276 client_name="YOUR_CLIENT_NAME",
277277 token="YOUR_TOKEN",
278278 )
@@ -353,9 +353,9 @@ def update(
353353
354354 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
355355 ---
356- from cohere.client import Cohere
356+ from cohere.client import Client
357357
358- client = Cohere (
358+ client = Client (
359359 client_name="YOUR_CLIENT_NAME",
360360 token="YOUR_TOKEN",
361361 )
@@ -439,9 +439,9 @@ def o_auth_authorize(
439439
440440 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
441441 ---
442- from cohere.client import Cohere
442+ from cohere.client import Client
443443
444- client = Cohere (
444+ client = Client (
445445 client_name="YOUR_CLIENT_NAME",
446446 token="YOUR_TOKEN",
447447 )
@@ -521,9 +521,9 @@ async def list(
521521
522522 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
523523 ---
524- from cohere.client import AsyncCohere
524+ from cohere.client import AsyncClient
525525
526- client = AsyncCohere (
526+ client = AsyncClient (
527527 client_name="YOUR_CLIENT_NAME",
528528 token="YOUR_TOKEN",
529529 )
@@ -608,9 +608,9 @@ async def create(
608608
609609 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
610610 ---
611- from cohere.client import AsyncCohere
611+ from cohere.client import AsyncClient
612612
613- client = AsyncCohere (
613+ client = AsyncClient (
614614 client_name="YOUR_CLIENT_NAME",
615615 token="YOUR_TOKEN",
616616 )
@@ -683,9 +683,9 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
683683
684684 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
685685 ---
686- from cohere.client import AsyncCohere
686+ from cohere.client import AsyncClient
687687
688- client = AsyncCohere (
688+ client = AsyncClient (
689689 client_name="YOUR_CLIENT_NAME",
690690 token="YOUR_TOKEN",
691691 )
@@ -740,9 +740,9 @@ async def delete(
740740
741741 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
742742 ---
743- from cohere.client import AsyncCohere
743+ from cohere.client import AsyncClient
744744
745- client = AsyncCohere (
745+ client = AsyncClient (
746746 client_name="YOUR_CLIENT_NAME",
747747 token="YOUR_TOKEN",
748748 )
@@ -823,9 +823,9 @@ async def update(
823823
824824 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
825825 ---
826- from cohere.client import AsyncCohere
826+ from cohere.client import AsyncClient
827827
828- client = AsyncCohere (
828+ client = AsyncClient (
829829 client_name="YOUR_CLIENT_NAME",
830830 token="YOUR_TOKEN",
831831 )
@@ -909,9 +909,9 @@ async def o_auth_authorize(
909909
910910 - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
911911 ---
912- from cohere.client import AsyncCohere
912+ from cohere.client import AsyncClient
913913
914- client = AsyncCohere (
914+ client = AsyncClient (
915915 client_name="YOUR_CLIENT_NAME",
916916 token="YOUR_TOKEN",
917917 )
0 commit comments