# Import classes from the bigdata-client Python SDK from bigdata_client import Bigdatafrom bigdata_client.models.chat import ChatScope# Log in to Bigdatabigdata = Bigdata("YOUR_USERNAME", "YOUR_PASSWORD")# Create a new chatchat = bigdata.chat.new("Pfizer company analysis")# First question using ChatScoperesponse = 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="")
Chat service classes
ChatScope
Copy
Ask AI
# Import classes from the bigdata-client Python SDK from bigdata_client import Bigdatafrom bigdata_client.models.chat import ChatScope# Log in to Bigdatabigdata = Bigdata("YOUR_USERNAME", "YOUR_PASSWORD")# Create a new chatchat = bigdata.chat.new("Pfizer company analysis")# First question using ChatScoperesponse = 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="")
Over 20 years of earnings call transcripts and financial discussions.
Copy
Ask AI
# Import classes from the bigdata-client Python SDK from bigdata_client import Bigdatafrom bigdata_client.models.chat import ChatScope# Log in to Bigdatabigdata = Bigdata("YOUR_USERNAME", "YOUR_PASSWORD")# Create a new chatchat = bigdata.chat.new("Pfizer company analysis")# First question using ChatScoperesponse = 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="")