OpenAI Vector Store Integration avatar

OpenAI Vector Store Integration

Try for free

No credit card required

View all Actors
OpenAI Vector Store Integration

OpenAI Vector Store Integration

jiri.spilka/openai-vector-store-integration
Try for free

No credit card required

The Apify OpenAI Vector Store integration uploads data from Apify Actors to the OpenAI Vector Store linked to OpenAI Assistant.

Vector Store ID

vectorStoreIdstringRequired

Vector Store ID where the data will be stored

OpenAI API KEY

openaiApiKeystringRequired

OpenAI API KEY

Assistant ID

assistantIdstringOptional

The ID of an OpenAI Assistant. This parameter is required only when a file exceeds the OpenAI size limit of 5,000,000 tokens (as of 2024-04-23).

When necessary, the model associated with the assistant is utilized to count tokens and split the large file into smaller, manageable segments.

A list of dataset fields which should be selected from the dataset

datasetFieldsarrayRequired

A list of dataset fields which should be selected from the items, only these dataset fields will remain in the resulting record objects.

For example, when using the website content crawler, you might select dataset fields such as text and url, and metadata.title among others, to be included in the vector store file.

Default value of this property is ["url","text"]

Delete/Create vector store files with a prefix

filePrefixstringOptional

Using a file prefix helps with the management of vector store file updates by eliminating the need to track each file's ID. For instance, if you set the filePrefix to 'apify-advisor', the Actor will initially locate all files in the vector store with this prefix. Subsequently, it will delete these files and create new ones, also prefixed accordingly.

Array of vector store file ids to delete

fileIdsToDeletearrayOptional

Delete specified file ids associated with vector store. This can be useful when one needs to delete files that are no longer needed.

Save crawled files (docs, pdf, pptx) to OpenAI File Store

saveCrawledFilesbooleanOptional

Save files from Apify's key-value store to OpenAI's file store. Useful when utilizing Apify’s website content crawler with the 'saveFiles' option, allowing the found files to be directly store and used in the assistant.

Default value of this property is true

Apify's Dataset ID

datasetIdstringOptional

The Dataset ID is provided automatically when the actor is set up as an integration. You can fill it in explicitly here to enable debugging of the actor

Apify's Key-value store ID (source for json, pdf, pptx files)

keyValueStoreIdstringOptional

This is the ID for the Key-value store on Apify, which serves as the data source for json, pdf, and pptx files. This ID is automatically provided when the actor is integrated. However, you can manually enter the ID here for debugging purposes.

Save all created files in the Apify's key-value store

saveInApifyKeyValueStorebooleanOptional

Save all created files in the Apify's Key-Value Store to easily check and retrieve all files (this is typically used when debugging)

Default value of this property is false

Developer
Maintained by Community
Actor metrics
  • 15 monthly users
  • 2 stars
  • 75.3% runs succeeded
  • Created in Apr 2024
  • Modified about 2 months ago