Skip to content

Commit

Permalink
Drop empty sections from python docs (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere authored Oct 31, 2023
1 parent d8e3c63 commit a4d0fcb
Showing 1 changed file with 0 additions and 77 deletions.
77 changes: 0 additions & 77 deletions docs/source/cohere.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,80 +39,3 @@ It is recommended to use `AsyncClient` for performance critical applications wit
from cohere import AsyncClient
async with AsyncClient() as co: # using 'async with' runs check_api_key and closes any sessions automatically
await co.generate("Hello, my name is", max_tokens=10)
API
===

Client
------
.. autoclass:: cohere.client.Client
:members:
:member-order: bysource

AsyncClient
-----------
.. autoclass:: cohere.client_async.AsyncClient
:members:
:member-order: bysource

API response objects
--------------------

.. automodule:: cohere.responses.generation
:members:
:member-order: bysource

.. automodule:: cohere.responses.tokenize
:members:
:member-order: bysource

.. automodule:: cohere.responses.classify
:members:
:member-order: bysource

.. automodule:: cohere.responses.embeddings
:members:
:member-order: bysource

.. automodule:: cohere.responses.detectlang
:members:
:member-order: bysource

.. automodule:: cohere.responses.feedback
:members:
:member-order: bysource

.. automodule:: cohere.responses.rerank
:members:
:member-order: bysource

.. automodule:: cohere.responses.summarize
:members:
:member-order: bysource

.. automodule:: cohere.responses.chat
:members:
:member-order: bysource

.. automodule:: cohere.responses.cluster
:members:
:member-order: bysource

.. automodule:: cohere.responses.custom_model
:members:
:member-order: bysource

CustomModelDataset
--------
.. automodule:: cohere.custom_model_dataset
:members: CustomModelDataset,InMemoryDataset,CsvDataset,JsonlDataset,TextDataset
:member-order: bysource

Exceptions
----------
.. automodule:: cohere.error
:members:
:member-order: bysource

0 comments on commit a4d0fcb

Please sign in to comment.