Skip to main content
Question

RAG_ollama_demo

  • January 21, 2025
  • 0 replies
  • 68 views

fmelizard
Safer
Forum|alt.badge.img+21
FME Hub user antoine just uploaded a new template to the FME Hub.

FME Workspace Description

Use case

This FME workspace is designed for processing, analyzing, and preparing data to feed a local ollama model with your own pdf. It is just a demo workspace to understand RAG concept and Ollama calls without python.

Requirements

Install Ollama

Load your embedding model plus your LLM model into it first.

Key Components

Chunk Processing:

Splits the input data into smaller chunks for parallel processing.

Utilizes transformers to manage chunk size and distribute data.

Embedding:

Embeds validation steps to identify and correct errors in data chunks.

Isolates problematic chunks for further analysis or correction.

Preprocessed Data Storage:

Outputs results in formats compatible with Parquet and other storage types.

Ensures streamlined data flow for further usage in external systems or analysis tools.

SQL Integration : Vector space:

Uses SQL queries to store and manage data in memory, enabling efficient data manipulation.

Queries include extension and table creation and selection for specific data extraction.

Result Generation:

Call to ollama local LLM



Would you like to know more? Click here to find out more details!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.