Psychic
PsychicReader #
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:
Name | Type | Description | Default |
---|---|---|---|
psychic_key
|
str
|
Secret key for Psychic. Get one at https://dashboard.psychic.dev/api-keys. |
None
|
Source code in llama-index-integrations/readers/llama-index-readers-psychic/llama_index/readers/psychic/base.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|
load_data #
load_data(connector_id: Optional[str] = None, account_id: Optional[str] = None) -> List[Document]
Load data from a Psychic connection.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
connector_id
|
str
|
The connector ID to connect to |
None
|
account_id
|
str
|
The account ID to connect to |
None
|
Returns:
Type | Description |
---|---|
List[Document]
|
List[Document]: List of documents. |
Source code in llama-index-integrations/readers/llama-index-readers-psychic/llama_index/readers/psychic/base.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|