Adding OpenAI compat `/v1/vector-store` apis.
This PR implements the `faiss` provider with followup PRs coming up for
other providers.

Added routes to create, update, delete, list vector stores.
Also added route to search a vector store

Inserting into vector stores is missing and will be a follow up diff.

### Test Plan
- Added new integration test for testing the faiss provider
```
pytest -sv --stack-config http://localhost:8321 tests/integration/vector_io/test_openai_vector_stores.py --embedding-model all-MiniLM-L6-v2
```

# What does this PR do?
<!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. -->

<!-- If resolving an issue, uncomment and update the line below -->
<!-- Closes #[issue-number] -->

## Test Plan
<!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
This commit is contained in:
vagabond2522 2025-06-18 02:42:52 +07:00
parent 5ac43268e8
commit 5089f273a2

13
.gitconfig Normal file
View file

@ -0,0 +1,13 @@
[http]
postBuffer = 524288000
sslVerify = true
lowSpeedLimit = 1000
lowSpeedTime = 30
[core]
compression = 0
[https]
postBuffer = 524288000
[git]
postBuffer = 524288000
[remote "origin"]
prune = true