Skip to content

feat(embed): add local embedding providers#32

Open
GaosCode wants to merge 1 commit intosteipete:mainfrom
GaosCode:feat/embedding-providers
Open

feat(embed): add local embedding providers#32
GaosCode wants to merge 1 commit intosteipete:mainfrom
GaosCode:feat/embedding-providers

Conversation

@GaosCode
Copy link
Copy Markdown

@GaosCode GaosCode commented Apr 12, 2026

Summary

Adds the embedding provider layer for OpenAI-compatible services, Ollama, and llama.cpp without implementing vector storage or semantic search.

Changes

  • Adds internal/embed provider abstraction and HTTP clients
  • Adds provider-specific defaults for OpenAI, Ollama, llama.cpp, and OpenAI-compatible endpoints
  • Extends embedding config with base_url, max_input_chars, and request_timeout
  • Adds non-fatal doctor checks for enabled embedding providers

Testing

  • go test ./...

Risks / Notes

  • This does not drain embedding_jobs, add message_embeddings, or implement semantic/hybrid search.
  • Made with Codex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant