Skip to main content

GenAI tasks

Build intelligent workflows with GenAI tasks.

GenAI tasks are ongoing operations that continuously monitor specified collections and process documents as they are added or modified.

  • Similar to ETL tasks, a GenAI task extracts content from documents. But instead of sending the content to another database, the task sends it to an AI model (like OpenAI) along with a guiding prompt and a JSON schema that defines the layout for the model's response.
  • When the LLM responds, the GenAI task can use its response to, for example, update the source document with LLM-generated content, or create new documents in the database.
  • GenAI tasks can infuse intelligence into a wide variety of content handling scenarios.
    E.g., they can enrich documents with AI-generated summaries or classifications, translate text into different languages, or generate new content based on existing data.
  • You can easily create GenAI tasks using Studio or the client API.
    When created via Studio, each step of their creation can be easily tested and validated before deployment.

Use cases

GenAI tasks can infuse intelligence into a wide variety of content handling scenarios. Here are some of the categories in which they can help.

  • Data enrichment & enhancement
  • Smart automation & workflows
  • Enhanced search & discovery
  • Business intelligence & insights
  • Content analysis & moderation

Technical documentation

Learn how to create and manage tasks that intelligently process your data and transform your content.

GenAI tasks overview

Learn the concepts and flow of GenAI tasks in RavenDB

Read

Creating tasks using Studio

Learn to create and test GenAI tasks using Studio

Read

Learn more: In-depth GenAI tasks articles

RavenDB GenAI Deep DiveExternal

RavenDB GenAI deep dive

A deep-dive with hands-on examples and implementation details, by Oren Eini

Read
Survive the AI tidal wave with RavenDB & GenAIExternal

Survive the AI tidal wave with RavenDB & GenAI

A real-world demo using GenAI for intelligent support ticket automation, by Paweł Lachowski

Read
Unlock RavenDB GenAI potential with attachmentsExternal

Unlock RavenDB GenAI potential with attachments

A practical guide to processing PDFs, images, and files with GenAI, by Paweł Lachowski

Read

Learn how GenAI tasks help create reliable and effective AI-powered workflows.

Why are GenAI tasks so effectiveExternal

Why are GenAI tasks so effective

Watch a webinar about GenAI tasks.

Watch