MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / EmbeddingSettings

Class EmbeddingSettings

src/cocoindex_code/settings.py:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94@dataclass
95class EmbeddingSettings:
96 model: str
97 provider: str = "litellm"
98 device: str | None = None
99 min_interval_ms: int | None = None
100 # Extra kwargs spread into ``embedder.embed()`` during indexing/query.
101 # ``None`` means the user did not set the key; ``{}`` is an explicit empty
102 # dict (used to opt out of the legacy-bridge warning).
103 indexing_params: dict[str, Any] | None = None
104 query_params: dict[str, Any] | None = None
105
106
107@dataclass

Calls

no outgoing calls