ollama_lc_agent_tayra.local.create_vector_store#

ollama_lc_agent_tayra.local.create_vector_store(persist_dir: str | Path, model: str = 'embeddinggemma:latest', dims: int = 768) → Chroma[source]#

Creates a ChromaDb instance.

Parameters:
  • persist_dir – The persistent directory for the database.

  • model – The model name.

  • dims – The number of dimensions.

Returns:

The created ChromaDb connection.