[FEATURE REQUEST] Configurable Embedding for Knowledge Base

Đang mở
#3,037 14 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ollama, typescript
Lĩnh vực
ai, backend, search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
29.8k
Fork
3.9k
Merge trung bình
1 giờ 44 phút
Pull request đã merge (30 ngày)
841

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simstudioai/sim

Tất cả issue của simstudioai/sim

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.