Integrations
Browse and View Your Integrations in Code
Note: Integrations currently must be created through the VectorShift website, but you can still interact with and use your integrations via the SDK.
Similar to other VectorShift objects, interacting with integrations also requires API keys. If the API keys have already been set as environment variables, they do not need to be supplied in those methods. The output of all methods invoking APIs is a dictionary representing the API JSON response.
Represents an integration object. Note: To work with Integration objects, we suggest using the fetch
and fetch_all
methods instead.
Arguments:
id
: The id of the integration.name
: The name of the integration.description
: A brief description of the Vector Store.type
: The type of integration you are working with.
A method fetch all the integrations you have in your account.
Arguments:
api_key
: The VectorShift API key.
A method to fetch a specific integration.
Arguments:
integration_id
: The id of the integrationintegration_name
: The name of the integration you want to fetchapi_key
: The VectorShift API key.
A method that syncs the metadata associated with an integration. Integration metadata is how VectorShift keeps track of what resources are available for each integration.
Arguments:
shared_users
: A list of emails to share the Vector Store with.api_key
: The VectorShift API key.
A method to sync all the documents in all vector stores that contain the associated integration.
Arguments:
api_key
: The VectorShift API key.
Last updated