Skip to content

Add embedding model API with vector storage and management UI#38

Closed
Copilot wants to merge 1 commit into
claude/add-embedding-api-support-JJdVPfrom
copilot/sub-pr-37
Closed

Add embedding model API with vector storage and management UI#38
Copilot wants to merge 1 commit into
claude/add-embedding-api-support-JJdVPfrom
copilot/sub-pr-37

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 11, 2026

Implements provider-based model architecture with embedding API endpoint and vector visualization.

Backend

  • Database schema: providers, models (chat/embedding types), embeddings tables with foreign key relationships
  • Embeddings API: OpenAI-compatible /embeddings endpoint that proxies to upstream providers, stores vectors as JSONB, tracks token usage and duration
  • Model selection: Runtime model resolution by type with provider routing

Frontend

  • Embeddings page: Data table with expandable detail panel showing vector values, dimensions, and metadata
  • Provider/Model management: CRUD operations in settings for configuring upstream API providers and model mappings
  • i18n: Full EN/CN translations for all new UI components

Example Usage

// Backend stores embedding vectors in database
POST /v1/embeddings
{
  "model": "text-embedding-3-small",
  "input": "Sample text"
}

// Frontend displays vector data
[0.123, -0.456, 0.789, ...] // 1536 dimensions

Test coverage includes unit tests for embedding storage, model selection logic, and UI components.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add embedding model API support with vector display Add embedding model API with vector storage and management UI Jan 11, 2026
Copilot AI requested a review from pescn January 11, 2026 15:45
@pescn pescn closed this Jan 12, 2026
@pescn pescn deleted the copilot/sub-pr-37 branch January 24, 2026 23:04
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.

2 participants