[FEATURE REQUEST] Configurable Embedding for Knowledge Base

Open
#3,037 14 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
ollama, typescript
Domain
ai, backend, search

Research direction

Start by tracing the Knowledge Base settings and the existing Ollama/vLLM LLM provider setup, which the issue identifies as the architectural pattern. Map where embedding configuration is selected and used, then confirm that OpenAI remains the default and Ollama models support fully offline RAG workflows.

Written by the indexing model from the issue text.

Description

feature

Is your feature request related to a problem? Please describe.
Currently, Knowledge Base only supports OpenAI for embeddings, requiring external API calls. This prevents fully offline/private RAG workflows, despite Sim already supporting local LLMs via Ollama.

Describe the solution you'd like
Add embedding provider selection to Knowledge Base settings (similar to LLM provider selection):
OpenAI (current default)
Ollama (nomic-embed-text, mxbai-embed-large, etc.)

Describe alternatives you've considered
Adding custom function blocks to the workflow: It requires coding
Current OpenAI works but prevents offline/private deployments

Additional context
Follows existing architecture pattern (Ollama/vLLM already supported for LLMs) where users bring their own models (like current Ollama setup)
Enables 100% offline RAG (local LLM + local embeddings)
Privacy-conscious users/enterprises need this for compliance

Dominant language
TypeScript
Stars
29.8k
Forks
3.9k
Avg merge
1h 43m
Merged PRs (30d)
937

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simstudioai/sim

All issues in simstudioai/sim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.