-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b701775
commit 5327604
Showing
15 changed files
with
1,501 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
try: | ||
from typing import NotRequired # type: ignore | ||
except ImportError: | ||
from typing_extensions import NotRequired # type: ignore | ||
|
||
|
||
class RequestOptions(typing.TypedDict): | ||
""" | ||
Additional options for request-specific configuration when calling APIs via the SDK. | ||
This is used primarily as an optional final parameter for service functions. | ||
Attributes: | ||
- timeout_in_seconds: int. The number of seconds to await an API call before timing out. | ||
- additional_headers: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's header dict | ||
- additional_query_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's query parameters dict | ||
- additional_body_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's body parameters dict | ||
""" | ||
|
||
timeout_in_seconds: NotRequired[int] | ||
additional_headers: NotRequired[typing.Dict[str, typing.Any]] | ||
additional_query_parameters: NotRequired[typing.Dict[str, typing.Any]] | ||
additional_body_parameters: NotRequired[typing.Dict[str, typing.Any]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
|
||
|
||
class ClientEnvironment(enum.Enum): | ||
PRODUCTION = "https://api.cohere.ai" | ||
PRODUCTION = "https://api.cohere.ai/v1" |
Oops, something went wrong.