---
title: "GenAI tasks: Start"
description: "Build intelligent workflows with GenAI tasks that continuously monitor collections and process documents as they are added or modified."
url: "https://docs.ravendb.net/7.2/ai-integration/gen-ai-integration/start"
version: "7.2"
---

# GenAI tasks: Start

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## GenAI tasks

### Build intelligent workflows with GenAI tasks.

GenAI tasks are [ongoing operations](https://docs.ravendb.net/7.2/studio/database/tasks/ongoing-tasks/general-info.md) that continuously monitor specified collections and process documents as they are added or modified.

- Similar to [ETL tasks](https://docs.ravendb.net/7.2/studio/database/tasks/ongoing-tasks/ravendb-etl-task.md), 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](https://docs.ravendb.net/7.2/ai-integration/gen-ai-integration/overview.md) - Learn the concepts and flow of GenAI tasks in RavenDB
- [Creating tasks using Studio](https://docs.ravendb.net/7.2/ai-integration/gen-ai-integration/create-gen-ai-task/create-gen-ai-task_studio.md) - Learn to create and test GenAI tasks using Studio

#### Learn more: In-depth GenAI tasks articles

- [RavenDB GenAI deep dive](https://ravendb.net/articles/ravendb-genai-deep-dive) - A deep-dive with hands-on examples and implementation details, by Oren Eini
- [Survive the AI tidal wave with RavenDB & GenAI](https://ravendb.net/articles/survive-the-ai-tidal-wave-with-ravendb-genai) - A real-world demo using GenAI for intelligent support ticket automation, by Paweł Lachowski
- [Unlock RavenDB GenAI potential with attachments](https://ravendb.net/articles/unlock-ravendb-genai-potential-with-attachments) - A practical guide to processing PDFs, images, and files with GenAI, by Paweł Lachowski

### Related lives & Videos

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

- [Why are GenAI tasks so effective](https://www.youtube.com/watch?v=NgvyeHwwVjM) - Watch a webinar about GenAI tasks.

## See also

- [Sample: BrainSlop](https://docs.ravendb.net/samples/brain-slop.md)
- [Sample: Verity](https://docs.ravendb.net/samples/verity.md)
