Why Build Your Research Assistant with Bigdata.com?

Bigdata.com is designed specifically for business and finance professionals, delivering real-time, AI-driven insights with precision and speed.

Unmatched Data Access — Instantly analyze vast, high-quality datasets.
Finance & Business Expertise — Designed for professionals, not generic use.
Seamless Integration — Easily power your chatbot with cutting-edge AI.

In just 5 minutes, you’ll learn how to:

✅ Install bigdata-client package
✅ Authenticate to Bigdata.com
✅ Chat with Bigdata.com
✅ Delete the chat instance

Ready to get started? Let’s dive in!

Open in Colab

Each question queries Bigdata.com and consumes API units - Monitor usage accordingly.

Install bigdata-client package

First of all, let’s install bigdata-client package in a python virtual environment.

Open the terminal and create a virtual environment with the following command:

$ python3 -m venv bigdata_venv

Activate the virtual environment, every time you want to use it:

$ source ./bigdata_venv/bin/activate

And install the bigdata-client within the environment bigdata_venv.

(bigdata_venv) $ pip install bigdata-client

Authenticate to bigdata.com

Enter the python interpreter with the following command

(bigdata_venv) $ python3

Now you can import the Bigdata object from the bigdata_client package,

>>> from bigdata_client import Bigdata

And initiate it with your bigdata.com personal credentials.

>>> bigdata = Bigdata("YOUR_USERNAME", "YOUR_PASSWORD")

Chat with bigdata.com

Your proprietary App or Server can leverage this programmatic research experience similar to the way you chat with the bigdata.com Assistant.

Create a new Chat

Let’s create a Chat instance:

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

Chat support formatter. This is the mechanism to customize inline attribution in chat answers. By default DefaultFormatter is used. For more information see Inline attribution formatter

First question

We can ask a question and print both, the question and the answer:

from bigdata_client.models.chat import ChatScope

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

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

Output:

Question:
 - Evaluate the experience and reputation of the management team of Pfizer in 2025

Answer:
Pfizer's management team in 2025 demonstrates significant experience and strategic focus.

## Executive Leadership

*   **Dr. Albert Bourla** serves as Chairman and CEO, emphasizing strategic priorities, R&D strengthening, and improved productivity. He oversees all functions of R&D across therapeutic areas. `:ref[3]` `:ref[6]` `:ref[14]` `:ref[5]` `:ref[16]`  
*   **David Denton** is the Chief Financial Officer and Executive Vice President. He has highlighted the company's focus on operational efficiency, financial discipline, and commercial execution, particularly amid U.S. Medicare Part D headwinds. `:ref[9]` `:ref[11]`  
*   **Chris Boshoff, M.D., Ph.D.**, is the Chief Scientific Officer and President of Research & Development, a role he assumed on January 1, 2025. He reports directly to Dr. Bourla. `:ref[5]` `:ref[16]` `:ref[7]`  

## Key Appointments and Transitions

*   **James List, M.D., Ph.D.**, joined Pfizer as Chief Internal Medicine Officer, responsible for the company's Internal Medicine portfolio, including cardiovascular, metabolic, and obesity medicines. He reports to Chris Boshoff. `:ref[3]` `:ref[6]` `:ref[14]`  
*   **Jeffrey Legos, Ph.D., MBA**, will join Pfizer as Chief Oncology Officer, leading Oncology R&D from pre-clinical to late-stage clinical development. He will also report to Chris Boshoff and succeed Roger Dansey, M.D., who served as Interim Chief Oncology Officer and will transition to retirement. `:ref[3]` `:ref[6]` `:ref[14]`  
*   **Roger Dansey, M.D.**, previously served as Interim Chief Oncology Officer and was instrumental in maintaining the integrated structure of Pfizer's Oncology R&D organization. He will retire from Pfizer after assisting in the selection of a permanent Chief Oncology Officer and facilitating the transition of his Chief Development Officer, Oncology responsibilities to Johanna Bendell, M.D. `:ref[5]` `:ref[16]`  
*   **Mikael Dolsten**, former Pfizer R&D Chief, concluded his tenure on March 1, 2025, after over 15 years. During his leadership, he oversaw the development and approval of more than 35 medicines and vaccines and advanced over 100 drug candidates through clinical development. `:ref[8]`  
*   **Edmund Harrigan**, Pfizer's former Senior Vice President of Worldwide Safety and Regulatory, joined Modulo Bio's board of directors in July 2025, bringing extensive experience in global drug development and regulatory affairs. `:ref[1]`  

## Recent Personnel Changes

*   **Reshma Parida** has been appointed as the new Senior Director - People Experience, effective August 1, 2025. She previously held the role of Senior Director - People Experience for APAC & AfME and SBO APAC Cluster. `:ref[2]` `:ref[13]` `:ref[15]` `:ref[17]`  
*   **Shilpi Singh**, Director - People Experience, resigned from Pfizer Limited, effective August 14, 2025, to pursue external opportunities. `:ref[2]` `:ref[13]` `:ref[15]` `:ref[17]`  

The company's leadership is focused on operational growth, with an expected revenue CAGR of approximately 6% from 2025 to 2030. `:ref[0]`  Pfizer's management team is also committed to innovation and leveraging demographic trends such as aging populations and increased chronic diseases. `:ref[12]`  

Inline attribution

The response object contains an array of source references that the Chat Service used to ground the response into truth.

Those inline attribution references have the format :ref[i] where i is the index in the list response.sources.

for index, source in enumerate(response.sources):
  print(index, source)

Output:

0 id='2BA8BAF80BB22444531DCB782FF728A9' headline='Pfizer Trades Above 50-Day Average for a Month: Time to Buy?' url='https://finance.yahoo.com/news/pfizer-trades-above-50-day-124800173.html' document_scope='news' rp_provider_id='MRVR'
1 id='78C1D7A59AA7868CBA24624E75F203F1' headline='Modulo Bio Strengthens Board of Directors with Addition of Biopharma Veterans Nicholas Saccomano and Edmund Harrigan' url='https://apnews.com/press-release/ein-presswire-newsmatics/modulo-bio-strengthens-board-of-directors-with-addition-of-biopharma-veterans-nicholas-saccomano-and-edmund-harrigan-76e86916ad245a5cdc0ae73a915e718c' document_scope='news' rp_provider_id='MRVR'
2 id='4E8B7ACFD32265383B8F7D27FD03D760' headline='Pfizer: Reshma Parida to become new Senior Director - People Experience' url='https://medicaldialogues.in/news/industry/pharma/pfizer-reshma-parida-to-become-new-senior-director-people-experience-151081' document_scope='news' rp_provider_id='MRVR'
3 id='248D8A695B996C33D8735A153AD5484E' headline='Pfizer Reports Solid First-Quarter 2025 Results And Reaffirms 2025 Guidance' url='https://www.benzinga.com/node/45061905?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
4 id='2D2D0DF4FF29B20ECF4E1B24AC879E63' headline='Pfizer Invites Public to View and Listen to Webcast of August 5 Conference Call with Analysts' url='https://apnews.com/press-release/business-wire/pfizer-invites-public-to-view-and-listen-to-webcast-of-august-5-conference-call-with-analysts-7ea2e9ef5d8e4ca9bafca5d78097c814' document_scope='news' rp_provider_id='MRVR'
5 id='80DF38A3A739750500D8BF307B9B3ABA' headline='Pfizer Reports Strong Full-Year 2024 Results And Reaffirms 2025 Guidance' url='https://www.benzinga.com/node/43457693?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
6 id='248D8A695B996C33D8735A153AD5484E' headline='Pfizer Reports Solid First-Quarter 2025 Results And Reaffirms 2025 Guidance' url='https://www.benzinga.com/node/45061905?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
7 id='50B5F380F5CF1887B6C1AB2545CDED1A' headline='Pfizer : First Quarter 2025 Transcript' url='https://www.marketscreener.com/quote/stock/PFIZER-INC-23365019/news/Pfizer-First-Quarter-2025-Transcript-50066618/' document_scope='news' rp_provider_id='MRVR'
8 id='5395E004670D9EFEA162316C24273C02' headline='Former Pfizer R&D Chief Mikael Dolsten Joins Formation Bio to Chair Drug Picking Committee and Co-Chair its Investment Advisory Committee' url='https://www.benzinga.com/node/44614657?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
9 id='91E6696BB65D2A688E2A2B903586983E' headline='Pfizer Reports Solid First-Quarter 2025 Results And Reaffirms 2025 Guidance' url='http://www.stockwatch.com/News/Item/U-b20250429774693-U!PFE-20250429/U/PFE' document_scope='news' rp_provider_id='MRVR'
10 id='46566D2DF66AEE1160A924FEC95FAEE7' headline='Pfizer Declares Third-Quarter 2025 Dividend' url='https://www.benzinga.com/node/46105498?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
11 id='13D539A6F5C21C51FF870FB8FB06DC48' headline='Pfizer Reports Strong Full-Year 2024 Results And Reaffirms 2025 Guidance' url='https://apnews.com/press-release/business-wire/covid-19-pandemic-clinical-trials-chris-boshoff-north-america-cd6efc5698db473f8a1c0a01710b206f' document_scope='news' rp_provider_id='MRVR'
12 id='4C568F9EFBE1AFE02A88311CB6AD5354' headline='5 Top Undervalued Stocks To Buy For July 2025' url='https://www.forbes.com/sites/investor-hub/article/best-undervalued-stocks-to-buy-july-2025/' document_scope='news' rp_provider_id='MRVR'
13 id='4E8B7ACFD32265383B8F7D27FD03D760' headline='Pfizer: Reshma Parida to become new Senior Director - People Experience' url='https://medicaldialogues.in/news/industry/pharma/pfizer-reshma-parida-to-become-new-senior-director-people-experience-151081' document_scope='news' rp_provider_id='MRVR'
14 id='248D8A695B996C33D8735A153AD5484E' headline='Pfizer Reports Solid First-Quarter 2025 Results And Reaffirms 2025 Guidance' url='https://www.benzinga.com/node/45061905?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
15 id='4E8B7ACFD32265383B8F7D27FD03D760' headline='Pfizer: Reshma Parida to become new Senior Director - People Experience' url='https://medicaldialogues.in/news/industry/pharma/pfizer-reshma-parida-to-become-new-senior-director-people-experience-151081' document_scope='news' rp_provider_id='MRVR'
16 id='80DF38A3A739750500D8BF307B9B3ABA' headline='Pfizer Reports Strong Full-Year 2024 Results And Reaffirms 2025 Guidance' url='https://www.benzinga.com/node/43457693?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack' document_scope='news' rp_provider_id='BZG'
17 id='94066D2E8F35197B5985F2C3C1E478CC' headline='Pfizer Limited Announces Directorate Changes' url='https://www.marketscreener.com/quote/stock/PFIZER-LIMITED-9058943/news/Pfizer-Limited-Announces-Directorate-Changes-50405774/' document_scope='news' rp_provider_id='MRVR'

Source filtering

We can also receive chat responses grounded in data from a curated list of trusted sources.

We can filter Bigdata’s indexed sources that you can identify using the Knowledge Graph find_sources method. The following example find sources by name, and it is also possible to find sources by Country and Rank, check out the page Find Sources for more details.

It is not possible to filter web sources that Bigdata has not indexed. If you have other sources essential for your use case, please reach out to support@bigdata.com to consider adding them.

# Get source by name
sources = bigdata.knowledge_graph.find_sources("Benzinga")
print(sources)

Output:

[Source(id='5A5702', name='Benzinga', volume=None, description="Benzinga is a dynamic and innovative financial media outlet that empowers investors with high-quality, unique content that is coveted by Wall Street's top traders. This source includes content received in real-time directly from Benzinga", entity_type='SRCE', publication_type='News', language='English', country='US', source_rank='1', retention=<SourceRetentionPeriod.FULL_HISTORY: '99Y'>, provider_id='BZG', url='http://www.benzinga.com/')]

Now we can use that list of sources directly in the new parameter source_filter

# Ask a question with source filtering, so the response will contain data from your specified trusted sources.
response = chat.ask("Can you provide more details about Roger Dansey in 2025", source_filter=sources, streaming=True)

print(f"\nQuestion:\n - {response.question}")
print(f"\nAnswer:")
for streamingChatInteraction in response:
  print(streamingChatInteraction, end="")
Question:
 - Can you provide more details about Roger Dansey in 2025

Answer:
Roger Dansey, M.D., has had several significant roles and transitions in 2025.

## Roger Dansey's 2025 Activities

*   **Interim Chief Oncology Officer at Pfizer**: Dr. Dansey served as Interim Chief Oncology Officer at Pfizer, reporting to Chris Boshoff, M.D., Ph.D., Chief Scientific Officer and President, Research & Development. His responsibilities included assisting Dr. Boshoff in selecting a permanent Chief Oncology Officer. `:ref[0]` `:ref[6]` `:ref[11]` `:ref[5]` `:ref[9]`  
*   **Retirement from Pfizer**: Dr. Dansey transitioned to retirement from Pfizer after assisting in the selection of his successor. `:ref[0]` `:ref[6]` `:ref[11]` `:ref[1]` `:ref[7]` `:ref[13]` `:ref[5]` `:ref[9]`  
*   **Transition of Responsibilities**: He facilitated a smooth transition of his responsibilities as Chief Development Officer, Oncology, to Johanna Bendell, M.D., who joined Pfizer from Roche in 2025. `:ref[0]` `:ref[6]` `:ref[11]` `:ref[5]` `:ref[9]`  
*   **Appointment to Ottimo Pharma Board**: On April 10, 2025, Ottimo Pharma announced the appointment of Dr. Dansey to its board of directors. `:ref[2]` `:ref[8]` `:ref[10]`  
*   **Advisor to Pfizer R&D**: He currently serves as an advisor to the Research and Development organization at Pfizer Inc. `:ref[2]` `:ref[8]` `:ref[10]`  
*   **Independent Director**: Dr. Dansey also serves as an independent director on the boards of Inovio Inc. and Kronos Bio Inc. `:ref[2]` `:ref[8]` `:ref[10]`  

## Prior Experience and Contributions

Before his 2025 transitions, Dr. Dansey had a distinguished career:

*   **Chief Development Officer, Oncology at Pfizer**: He joined Pfizer through the Seagen acquisition and served as Chief Development Officer, Oncology. `:ref[5]` `:ref[9]`  
*   **Chief Medical Officer and Interim CEO at Seagen**: At Seagen, he was Chief Medical Officer since 2018 and interim CEO in 2022, leading clinical development efforts for therapies such as PADCEV, TUKYSA, and TIVDAK, and securing supplemental approvals for ADCETRIS. `:ref[5]` `:ref[9]`  
*   **Clinical Oncology Research at Merck**: Previously, he led Clinical Oncology Research at Merck, overseeing KEYTRUDA®i (pembrolizumab) registration efforts. `:ref[5]` `:ref[9]`  
*   **Contributions to Breakthrough Cancer Medicines**: Dr. Dansey has significantly contributed to the clinical development and approvals of several breakthrough cancer medicines, including Keytruda, Xgeva/Prolia, Zydelig, Adcetris, Padcev, Tivdak, and Tukysa. `:ref[2]` `:ref[8]` `:ref[10]`  
*   **Leadership at Other Companies**: Earlier in his career, he held senior leadership positions at Gilead Sciences and Amgen. `:ref[2]` `:ref[8]` `:ref[10]`  

All documents in the inline attribution are from the specified source.

print(f"\nDocuments used to ground the Chat response:\n")
for source in response.sources:
    print(f"\tDocument ID: {source.id}")
    print(f"\tHeadline: {source.headline}")
    print(f"\tURL: {source.url}\n")
Documents used to ground the Chat response:

	Document ID: 80DF38A3A739750500D8BF307B9B3ABA
	Headline: Pfizer Reports Strong Full-Year 2024 Results And Reaffirms 2025 Guidance
	URL: https://www.benzinga.com/node/43457693?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack

	Document ID: 248D8A695B996C33D8735A153AD5484E
	Headline: Pfizer Reports Solid First-Quarter 2025 Results And Reaffirms 2025 Guidance
	URL: https://www.benzinga.com/node/45061905?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack

	Document ID: C6EB0E1A935A52418A94ABE2B1396230
	Headline: Ottimo Pharma Strengthens Board with Appointment of Roger Dansey, M.D. to its Board of Directors
	URL: https://www.benzinga.com/node/44731885?utm_campaign=partner_feed&utm_medium=feed&utm_source=ravenpack

...

Ask any follow up questions

You can continue asking questions. It will remember your previous questions and answers within this chat instance.

# Follow up question
response = chat.ask("Has it hired any senior AI expert?")
print(f"\nQuestion:\n - {response.question}")
print(f"\nAnswer:\n{response.answer}")

Output:

Question:
- Has it hired any senior AI expert?

Answer:
## Pfizer Hires Senior AI Expert

Yes, Pfizer has hired a senior AI expert to bolster its digital leadership team. In August 2024, the company appointed Berta Rodriguez-Hervas as its Chief AI and Analytics Officer.  

According to the information:

- Rodriguez-Hervas is joining Pfizer after previous roles at Stellantis, Nvidia, and Tesla, where she focused on algorithms, computer vision, and machine learning.  
- Pfizer's EVP and Chief Digital and Technology Officer, Lidia Fonseca, expressed confidence that Rodriguez-Hervas' "leadership and fresh perspective will continue to take our enterprise AI strategies and capabilities to the next level."  
- The appointment of a dedicated Chief AI Officer signals Pfizer's focus on leveraging AI and analytics to accelerate its drug development and patient care initiatives.  

In summary, Pfizer has bolstered its digital leadership team by hiring Berta Rodriguez-Hervas, an experienced AI and analytics expert, as its Chief AI and Analytics Officer.

Chat with bigdata.com in Streaming mode

Chat support streaming mode

When streaming=True param provided to chat.ask method it returns StreamingChatInteraction instead of ChatInteraction

StreamingChatInteraction implements iterator. Also it has same interface as ChatInteracion and contains exactly same properties.

Ask question with streaming

We can ask a question and print both, the question and the answer:

# In this case `response` is a `StreamingChatInteracton` which support iteraton
response = chat.ask("Evaluate the experience and reputation of the management team of Pfizer", streaming=True)

# Consume `chunks` iterating over `response`
print("Streaming results:")
for chunk in response:
    print(f"chunk: {chunk}")

# At this point it is possible to access `StreamingChatInteracton` properties
print(f"\nQuestion:\n - {response.question}")

Output:

Streaming results:
chunk: ## Pfizer's Executive
chunk:  Leadership Team
chunk: ### Albert Bourla
chunk: , Chairman and Chief Executive Officer
...
chunk: company's continued success.

Question:
- Evaluate the experience and reputation of the management team of Pfizer

Unless iterator fully consumed, StreamingChatInteraction properties are not filled with data

Delete the chat instance

We can delete this chat instance if we no longer need to ask follow-up questions.

# Delete chat
bigdata.chat.delete(chat.id)

Summary

Congratulations! 🎉 You have successfully integrated with Bigdata.com chat service programmatically, and we can’t wait to see what you build. We’re always around to help.

Next steps

We recommend exploring the following pages: