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?")
Metadata
Release files for llama-index-readers-earnings-call-transcript 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_earnings_call_transcript-0.6.0.tar.gz | 4.8 kB | Without provenance | Details for llama_index_readers_earnings_call_transcript-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl |
Total release size: 9.8 kB
Release files / llama_index_readers_earnings_call_transcript-0.6.0.tar.gz
| Download URL | llama_index_readers_earnings_call_transcript-0.6.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31aa716cf093ad909c098ea7bbe794ae3937ea028743f887dba435e5f712682a
|
|
BLAKE2b-256 checksum How to use checksums |
27d8be653ede7abdc56b8bdf691f431b44f2d4a78d1192cc9951a34021d21349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_earnings_call_transcript-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf7e5523c2d285883a287b8e8b83aafdbe5a692649a6aaeb8c8bf339b47a46ef
|
|
BLAKE2b-256 checksum How to use checksums |
ad7a0b0fef5f4312266200a5706cb941a0f2d1e3d551345a3af9c9e47ad0f4b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for llama-index-readers-earnings-call-transcript 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.