Skip to main content

EARNING CALL TRANSCRIPTS LOADER

pip install llama-index-readers-earnings-call-transcript

This loader fetches the earning call transcripts of US based companies from the website discountingcashflows.com. It is not available for commercial purposes

Install the required dependencies

pip install -r requirements.txt

The Earning call transcripts takes in three arguments

  • Year
  • Ticker symbol
  • Quarter name from the list ["Q1","Q2","Q3","Q4"]

Usage

from llama_index.readers.earnings_call_transcript import EarningsCallTranscript

loader = EarningsCallTranscript(2023, "AAPL", "Q3")
docs = loader.load_data()

The metadata of the transcripts are the following

  • ticker
  • quarter
  • date_time
  • speakers_list

Examples

Llama Index

from llama_index.core import VectorStoreIndex, download_loader

from llama_index.readers.earnings_call_transcript import EarningsCallTranscript

loader = EarningsCallTranscript(2023, "AAPL", "Q3")
docs = loader.load_data()

index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()

response = query_engine.query(
    "What was discussed about Generative AI?",
)
print(response)

Langchain

from langchain.agents import Tool
from langchain.agents import initialize_agent
from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI

from llama_index.readers.earnings_call_transcript import EarningsCallTranscript

loader = EarningsCallTranscript(2023, "AAPL", "Q3")
docs = loader.load_data()

tools = [
    Tool(
        name="LlamaIndex",
        func=lambda q: str(index.as_query_engine().query(q)),
        description="useful for questions about investor transcripts calls for a company. The input to this tool should be a complete english sentence.",
        return_direct=True,
    ),
]
llm = ChatOpenAI(temperature=0)
agent = initialize_agent(tools, llm, agent="conversational-react-description")
agent.run("What was discussed about Generative AI?")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_readers_earnings_call_transcript-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_earnings_call_transcript-0.6.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_earnings_call_transcript-0.6.0.tar.gz
Algorithm Hash digest
SHA256 31aa716cf093ad909c098ea7bbe794ae3937ea028743f887dba435e5f712682a
MD5 015405d8c8535889f28b28fbad68e948
BLAKE2b-256 27d8be653ede7abdc56b8bdf691f431b44f2d4a78d1192cc9951a34021d21349

See more details on using hashes here.

File details

Details for the file llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf7e5523c2d285883a287b8e8b83aafdbe5a692649a6aaeb8c8bf339b47a46ef
MD5 29389cd4363e985a352d82aeab4e6a93
BLAKE2b-256 ad7a0b0fef5f4312266200a5706cb941a0f2d1e3d551345a3af9c9e47ad0f4b2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page