Extract SaaS Data with Psychic Reader
Load data synced from multiple SaaS apps through the Psychic universal API.
Why it matters
Seamlessly access and integrate data from various SaaS applications through the Psychic universal API. This asset connects to your Psychic instance to retrieve synchronized data, making it readily available for use within LlamaIndex or as a tool for LangChain Agents.
Outcomes
What it gets done
Connect to Psychic platform using secret key authentication.
Extract synchronized data from specified SaaS connectors.
Load data into LlamaIndex for further processing.
Utilize extracted data as a tool within LangChain Agents.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/li-reader-readers-psychic | bash Overview
LlamaIndex Readers Integration: Psychic
A LlamaIndex reader that loads data already synced from SaaS applications through the Psychic universal API. Use when SaaS data is already synced via Psychic and needs loading into LlamaIndex without per-app integration code.
What it does
The Psychic Reader extracts data from the Psychic platform, giving access to data already synced from various SaaS applications through a single universal API. Psychic itself is the platform that handles synchronizing data from multiple SaaS applications behind that one API; this reader is the LlamaIndex-side client that connects to a Psychic instance and retrieves whatever has been synced, authenticating with a secret key.
PsychicReader is initialized with a psychic_key (the Psychic secret key), and load_data takes a connector_id and an account_id to specify exactly which synced connection and account to pull data from.
When to use - and when NOT to
Use it when you already sync data from one or more SaaS applications through Psychic and want that already-synced data loaded into LlamaIndex, without writing separate integration code for each underlying SaaS app individually. Do not use it as a way to connect to a SaaS app directly; the reader only talks to Psychic's own API, so the SaaS connection and sync itself must already be set up on the Psychic side, identified by a connector_id and account_id.
Capabilities
load_data fetches data for a specific connector and account from a Psychic instance, returning it as LlamaIndex documents.
How to install
pip install llama-index-readers-psychic
Requires a Psychic secret key.
Who it's for
Developers who already use Psychic to sync data from multiple SaaS applications and want that synced data loaded into a LlamaIndex pipeline through one universal connector instead of per-app integrations.
Source README
LlamaIndex Readers Integration: Psychic
Overview
The Psychic Reader facilitates the extraction of data from the Psychic platform, enabling seamless access to synced data from various SaaS applications through a single universal API.
Psychic is a platform designed to synchronize data from multiple SaaS applications via a universal API. This reader module connects to a Psychic instance and retrieves data, requiring authentication via a secret key.
For more detailed information about Psychic, visit docs.psychic.dev.
Installation
You can install Psychic Reader via pip:
pip install llama-index-readers-psychic
Usage
from llama_index.readers.psychic import PsychicReader
### Initialize PsychicReader
reader = PsychicReader(psychic_key="<Psychic Secret Key>")
### Load data from Psychic
documents = reader.load_data(
connector_id="<Connector ID>", account_id="<Account ID>"
)
This loader is designed to be used as a way to load data into
LlamaIndex and/or subsequently
used as a Tool in a LangChain Agent.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.