PsychicReader#

class llama_index.readers.PsychicReader(psychic_key: Optional[str] = None)#

Bases: BaseReader

Psychic reader.

Psychic is a platform that allows syncing data from many SaaS apps through one

universal API.

This reader connects to an instance of Psychic and reads data from it, given a

connector ID, account ID, and API key.

Learn more at docs.psychic.dev.

Parameters

psychic_key (str) – Secret key for Psychic. Get one at https://dashboard.psychic.dev/api-keys.

Methods Summary

load_data([connector_id, account_id])

Load data from a Psychic connection.

Methods Documentation

load_data(connector_id: Optional[str] = None, account_id: Optional[str] = None) List[Document]#

Load data from a Psychic connection.

Parameters
  • connector_id (str) – The connector ID to connect to

  • account_id (str) – The account ID to connect to

Returns

List of documents.

Return type

List[Document]