beta_document_block.py — anthropic-sdk-python Source File
Architecture documentation for beta_document_block.py, a python file in the anthropic-sdk-python codebase. 10 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR f41e9681_6bc5_240d_ac21_2059e7c95c2a["beta_document_block.py"] 40a4d499_6b34_0763_5e68_275c9212420c["_utils"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 40a4d499_6b34_0763_5e68_275c9212420c c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> c14e2467_291d_6c7c_2b25_9a24e81f8565 b85ea9a0_3f47_ad3c_e3ca_23273dbe91b3["beta_citation_config.py"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> b85ea9a0_3f47_ad3c_e3ca_23273dbe91b3 f340ba9f_b4aa_94c8_35c7_aa8f9a14c0b7["BetaCitationConfig"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> f340ba9f_b4aa_94c8_35c7_aa8f9a14c0b7 2ce68678_83ad_4909_0a0d_6decda13d124["beta_base64_pdf_source.py"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 2ce68678_83ad_4909_0a0d_6decda13d124 7c87c79c_12a1_3140_7db4_b631cfacc272["BetaBase64PDFSource"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 7c87c79c_12a1_3140_7db4_b631cfacc272 0b277b4d_c74f_db09_1ba1_7d1ee612fd56["beta_plain_text_source.py"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 0b277b4d_c74f_db09_1ba1_7d1ee612fd56 1ef0a68a_1278_8ae4_a9fd_fb4eb9dc8cda["BetaPlainTextSource"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 1ef0a68a_1278_8ae4_a9fd_fb4eb9dc8cda 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] f41e9681_6bc5_240d_ac21_2059e7c95c2a --> 37c05070_ca59_d596_7250_de9d1939227f 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"] 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> f41e9681_6bc5_240d_ac21_2059e7c95c2a 8103dedd_4d92_f53f_2f66_440004c8843e["beta_web_fetch_block.py"] 8103dedd_4d92_f53f_2f66_440004c8843e --> f41e9681_6bc5_240d_ac21_2059e7c95c2a style f41e9681_6bc5_240d_ac21_2059e7c95c2a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .beta_citation_config import BetaCitationConfig
from .beta_base64_pdf_source import BetaBase64PDFSource
from .beta_plain_text_source import BetaPlainTextSource
__all__ = ["BetaDocumentBlock", "Source"]
Source: TypeAlias = Annotated[Union[BetaBase64PDFSource, BetaPlainTextSource], PropertyInfo(discriminator="type")]
class BetaDocumentBlock(BaseModel):
citations: Optional[BetaCitationConfig] = None
"""Citation configuration for the document"""
source: Source
title: Optional[str] = None
"""The title of the document"""
type: Literal["document"]
Domain
Classes
Dependencies
- BetaBase64PDFSource
- BetaCitationConfig
- BetaPlainTextSource
- _models
- _utils
- beta_base64_pdf_source.py
- beta_citation_config.py
- beta_plain_text_source.py
- typing
- typing_extensions
Source
Frequently Asked Questions
What does beta_document_block.py do?
beta_document_block.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_document_block.py depend on?
beta_document_block.py imports 10 module(s): BetaBase64PDFSource, BetaCitationConfig, BetaPlainTextSource, _models, _utils, beta_base64_pdf_source.py, beta_citation_config.py, beta_plain_text_source.py, and 2 more.
What files import beta_document_block.py?
beta_document_block.py is imported by 2 file(s): __init__.py, beta_web_fetch_block.py.
Where is beta_document_block.py in the architecture?
beta_document_block.py is located at src/anthropic/types/beta/beta_document_block.py (domain: AnthropicClient, directory: src/anthropic/types/beta).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free