---
title: vector_store | CodeWeaver Docs
description: API reference for codeweaver.providers.config.clients.vector_store
url: "https://docs.knitli.com/api/providers/config/clients/vector_store"
type: static
generatedAt: "2026-04-17T17:21:08.835Z"
---

# vector_store
       [Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[View in Markdown](/codeweaver/api/providers/config/clients/vector_store.md)       [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F)[Share on X](https://x.com/intent/tweet?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F&text=vector_store)[Share on Threads](https://threads.net/intent/post?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F&text=vector_store)[Share on Bluesky](https://bsky.app/intent/compose?text=vector_store%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F)[Share on Reddit](https://reddit.com/submit?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F&title=vector_store)[Share on Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F&t=vector_store)[Share on Email](mailto:?subject=vector_store&body=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F)[Share on WhatsApp](https://wa.me/?text=vector_store%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F)[Share on Telegram](https://t.me/share/url?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fclients%2Fvector_store%2F&text=vector_store)
# `codeweaver.providers.config.clients.vector_store`
[Section titled “codeweaver.providers.config.clients.vector_store”](#codeweaverprovidersconfigclientsvector_store)
Vector Store Client Options.

## Class: `GrpcParams`
[Section titled “Class: GrpcParams”](#class-grpcparams)
Parameters for configuring a grpc channel.

## Class: `QdrantClientOptions`
[Section titled “Class: QdrantClientOptions”](#class-qdrantclientoptions)
Client options for Qdrant vector store provider.

Note: `kwargs` are passed directly to the underlying httpx or grpc client.

The instantiated client’s `_client` attribute will be either an `httpx.AsyncClient` for rest.based connections, or a `grpc.aio.Channel` for grpc-based connections, which may be useful for providing custom httpx or grpc clients.

### Method: `finalize_settings`
[Section titled “Method: finalize_settings”](#method-finalize_settings)

**

```
finalize_settings()
```

Validate that either location or url is provided.

This is actually less of a true validator and more of a guard against common foot-guns with the `qdrant_client`.

Quick version: `qdrant_client` offers `location`, `path`, `url`, and `host` settings but resolves them in a way that’s not super intuitive. It errors if more than one is set, but doesn’t provide any overrides to help you avoid that situation — despite the fact that it will ignore other settings of path or location is set…

I’ll give them the benefit of the doubt on the missing overrides and assume there’re no overrides or better handling because of limitations imposed by their minimum python version. Clearly though, I should probably take a stab at a PR to improve this in qdrant-client itself when I get a few extra cycles. I understand that maintaining backward compatibility is important, and I know folks like to keep things explicit, but I think there’s room for improvement here.

Instead, we assume you’re trying to provide reasonable parameters, and like many people, might set both `location` and `url`, or `location` and `host`/`port`, etc. The overall strategy is to look for non-default options first. If multiple are found, we prioritize them in this order: `location`, `path`, `url`, `host` (well, the last two get some nuanced handling). The others are nulled out.

### Method: `is_local_on_disk`
[Section titled “Method: is_local_on_disk”](#method-is_local_on_disk)

**

```
is_local_on_disk()
```

Check if the Qdrant client is configured for local on-disk storage.

### Method: `to_qdrant_params`
[Section titled “Method: to_qdrant_params”](#method-to_qdrant_params)

**

```
to_qdrant_params()
```

Convert client options to qdrant_client constructor parameters.

Maps CodeWeaver’s simplified interface to qdrant_client’s expected format. Handles both common cases (explicit fields) and advanced cases (escape hatches).

Returns: Dictionary suitable for passing to AsyncQdrantClient constructor

Example: >>> options = QdrantClientOptions( … url=“[https://qdrant.example.com ↗](https://qdrant.example.com)”, api_key=“secret-key”, timeout=30.0 … ) >>> params = options.to_qdrant_params() >>> client = AsyncQdrantClient(**params)