Skip to content

WebLocation

Source code in docs_src/capo_bedrock_runtime/types/web_location.py
class WebLocation(TypedDict, closed=True):
    url: NotRequired["str"]
    """<p>The URL that was cited when performing a web search.</p>"""
    domain: NotRequired["str"]
    """<p>The domain that was cited when performing a web search.</p>"""

domain instance-attribute

domain: NotRequired[str]

The domain that was cited when performing a web search.

url instance-attribute

url: NotRequired[str]

The URL that was cited when performing a web search.