Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / RAG и базы знаний

RAG и базы знаний

Включение чата с файлами в Supabase Storage с помощью AI-агента

Векторизует текстовые файлы и PDF из Supabase Storage и позволяет AI-чатботу отвечать на вопросы, используя контекст из этих документов. Запускается вручную.

Что делает

![5min Logo]({{ $env.WEBHOOK_URL }} ## AI Agent To Chat With Files In Supabase Storage Made by [Mark Shcherbakov]({{ $env.WEBHOOK_URL }} from community [5minAI]({{ $env.WEBHOOK_URL }} Manually retrieving and analyzing specific information from large document repositories is time-consuming and inefficient. This workflow automates the process by vectorizing documents and enabling AI-powered interactions, making it easy to query and retrieve context-based information from uploaded files. The workflow integrates Supabase with an AI-powered chatbot to process, store, and query text and PDF files. The steps include: - Fetching and comparing files to avoid duplicate processing. - Handling file downloads and extracting content based on the file type. - Converting documents into vectorized data for contextual information retrieval. - Storing and querying vectorized data from a Supabase vector store.

Шаги

  1. Get All files
  2. Default Data Loader
  3. Recursive Character Text Splitter
  4. Extract Document PDF
  5. Embeddings OpenAI
  6. Create File record2
  7. If Node
  8. Get All Files
  9. Download
  10. Loop Over Items
  11. When clicking ‘Test workflow’
  12. Aggregate
  13. When chat message received
  14. OpenAI Chat Model1

Всего шагов: 22.

Похожие автоматизации