-
Notifications
You must be signed in to change notification settings - Fork 213
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
31eb826
commit 2ec74b6
Showing
43 changed files
with
765 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
configured_endpoints: 21 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-75f0573c3d6d79650bcbd8b1b4fcf93ce146d567afeb1061cd4afccf8d1d6799.yml | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-7270ee0a79d885681ee507414608229f61c27f47c40f355dcd210b38aa7cddf1.yml |
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
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
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,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["BetaCitationCharLocation"] | ||
|
||
|
||
class BetaCitationCharLocation(BaseModel): | ||
cited_text: str | ||
|
||
document_index: int | ||
|
||
document_title: Optional[str] = None | ||
|
||
end_char_index: int | ||
|
||
start_char_index: int | ||
|
||
type: Literal["char_location"] |
22 changes: 22 additions & 0 deletions
22
src/anthropic/types/beta/beta_citation_char_location_param.py
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,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal, Required, TypedDict | ||
|
||
__all__ = ["BetaCitationCharLocationParam"] | ||
|
||
|
||
class BetaCitationCharLocationParam(TypedDict, total=False): | ||
cited_text: Required[str] | ||
|
||
document_index: Required[int] | ||
|
||
document_title: Required[Optional[str]] | ||
|
||
end_char_index: Required[int] | ||
|
||
start_char_index: Required[int] | ||
|
||
type: Required[Literal["char_location"]] |
22 changes: 22 additions & 0 deletions
22
src/anthropic/types/beta/beta_citation_content_block_location.py
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,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["BetaCitationContentBlockLocation"] | ||
|
||
|
||
class BetaCitationContentBlockLocation(BaseModel): | ||
cited_text: str | ||
|
||
document_index: int | ||
|
||
document_title: Optional[str] = None | ||
|
||
end_block_index: int | ||
|
||
start_block_index: int | ||
|
||
type: Literal["content_block_location"] |
22 changes: 22 additions & 0 deletions
22
src/anthropic/types/beta/beta_citation_content_block_location_param.py
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,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal, Required, TypedDict | ||
|
||
__all__ = ["BetaCitationContentBlockLocationParam"] | ||
|
||
|
||
class BetaCitationContentBlockLocationParam(TypedDict, total=False): | ||
cited_text: Required[str] | ||
|
||
document_index: Required[int] | ||
|
||
document_title: Required[Optional[str]] | ||
|
||
end_block_index: Required[int] | ||
|
||
start_block_index: Required[int] | ||
|
||
type: Required[Literal["content_block_location"]] |
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,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["BetaCitationPageLocation"] | ||
|
||
|
||
class BetaCitationPageLocation(BaseModel): | ||
cited_text: str | ||
|
||
document_index: int | ||
|
||
document_title: Optional[str] = None | ||
|
||
end_page_number: int | ||
|
||
start_page_number: int | ||
|
||
type: Literal["page_location"] |
Oops, something went wrong.