feat: Add openAI compatible APIs to QDrant

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit is contained in:
Varsha Prasad Narsing 2025-06-17 16:38:02 -07:00
parent 0ddb293d77
commit 61bddfe70e
6 changed files with 100 additions and 13 deletions

View file

@ -22,7 +22,7 @@ logger = logging.getLogger(__name__)
def skip_if_provider_doesnt_support_openai_vector_stores(client_with_models):
vector_io_providers = [p for p in client_with_models.providers.list() if p.api == "vector_io"]
for p in vector_io_providers:
if p.provider_type in ["inline::faiss", "inline::sqlite-vec"]:
if p.provider_type in ["inline::faiss", "inline::sqlite-vec", "inline::qdrant"]:
return
pytest.skip("OpenAI vector stores are not supported by any provider")