Skip to content

Datasets

Datasets can be used via data blocks inside your prompts. Every item in the dataset will be available as "option" (or "variant") similar to the simple text blocks. This would typically (but doesn't have to) be a placeholder for user data that you want to process with your prompt.

For instance, if you are composing a prompt that should determine the sentiment of emails, you could create a dataset with a few sample emails as items to test in the prompt.

Datasets can be shared between different prompts in your project, but not across projects.

Once AIPI endpoints are available, you will be able to pass user data as payload with your request to replace the test data.