Skip to content

Add vector stores#830

Merged
jezekra1 merged 1 commit intomainfrom
add-vector-stores
Jul 1, 2025
Merged

Add vector stores#830
jezekra1 merged 1 commit intomainfrom
add-vector-stores

Conversation

@jezekra1
Copy link
Collaborator

@jezekra1 jezekra1 commented Jun 24, 2025

Ref: #625

@jezekra1 jezekra1 force-pushed the add-procrastinate branch from 4d12b51 to e278219 Compare June 25, 2025 09:32
Base automatically changed from add-procrastinate to main June 25, 2025 09:38
@jezekra1 jezekra1 force-pushed the add-vector-stores branch 13 times, most recently from e6bca4b to c62fe91 Compare June 26, 2025 11:41
@jezekra1 jezekra1 marked this pull request as ready for review June 26, 2025 13:17
@jezekra1 jezekra1 force-pushed the add-vector-stores branch from c62fe91 to cf24c0f Compare June 26, 2025 13:18
@jezekra1 jezekra1 force-pushed the add-vector-stores branch 5 times, most recently from 5c25517 to 1460d6b Compare June 27, 2025 14:34
class SearchRequest(BaseModel):
"""Request to search a vector store."""

query_vector: list[float] = Field(None, description="Vector to search for")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

query and max_num_results to be aligned with OpenAI?

@JanPokorny
Copy link
Collaborator

Are we targeting OpenAI API compatibility (https://platform.openai.com/docs/api-reference/vector-stores)? Maybe we should (for simplicity), in which case we should keep the API together with /chat/completions and /embeddings on the same API base

@jezekra1
Copy link
Collaborator Author

jezekra1 commented Jul 1, 2025

It's not compatible with the way we designed it. The openai API is more high level - works with files not vectors. We wanted to give users more control over the data, so our implementation is more like "simplified perplexity" api

Signed-off-by: Radek Ježek <radek.jezek@ibm.com>
@jezekra1 jezekra1 force-pushed the add-vector-stores branch from 5164720 to 14e766f Compare July 1, 2025 09:28
@jezekra1 jezekra1 merged commit 6bd7850 into main Jul 1, 2025
9 checks passed
@jezekra1 jezekra1 deleted the add-vector-stores branch July 1, 2025 10:25
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.

3 participants