> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatScope

<Warning>
  We are sunsetting our SDKs and will no longer add new features, security patches, bug fixes, or technical support for them. To access the latest capabilities and ongoing improvements, we encourage you to migrate to our [RESTful API](/api-rest/introduction).

  SDK support will officially end on **December 31, 2026**. On this date, the underlying endpoints used by the SDKs and related documentation will be decommissioned.

  To avoid any disruption to your services, please ensure your migration is complete by that date.

  For migration assistance, please contact us at [support@bigdata.com](mailto:support@bigdata.com).
</Warning>

Defines the scope of a chat interaction.

## Enum Values

<ParamField query="EARNING_CALLS" type="str">
  Over 20 years of earnings call transcripts and financial discussions.
</ParamField>

<ParamField query="FILES" type="str">
  Documents such as PDFs or TXT documents that you uploaded.
</ParamField>

<ParamField query="NEWS" type="str">
  Thousands of sources of news and blogs.
</ParamField>

<ParamField query="REGULATORY_FILINGS" type="str">
  Mandatory financial reports submitted to the SEC.
</ParamField>

<ParamField query="FACTSET_TRANSCRIPTS" type="str">
  Over 20 years of earnings call transcripts and financial discussions.
</ParamField>

<RequestExample>
  ```python Example theme={null}
  # Import classes from the bigdata-client Python SDK        
  from bigdata_client import Bigdata
  from bigdata_client.models.chat import ChatScope

  # Log in to Bigdata
  bigdata = Bigdata("YOUR_USERNAME", "YOUR_PASSWORD")

  # Create a new chat
  chat = bigdata.chat.new("Pfizer company analysis")

  # First question using ChatScope
  response = chat.ask("Evaluate the experience and reputation of the management team of Pfizer in 2024", streaming=True, scope=ChatScope.NEWS)

  print(f"\nQuestion:\n - {response.question}")
  print(f"\nAnswer:")
  for streamingChatInteraction in response:
    print(streamingChatInteraction, end="")
  ```
</RequestExample>
