cognee/cognee/infrastructure/databases/vector/models/CollectionConfig.py
Daniel Molnar b5ebed1f7d
Docstring infrastructure. (#880)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-05-28 17:47:31 +02:00

21 lines
598 B
Python

from pydantic import BaseModel
from .VectorConfig import VectorConfig
class CollectionConfig(BaseModel):
"""
Represent a configuration for a collection of vector embeddings.
This class is a subclass of BaseModel and encapsulates the configuration details for a
vector collection.
Public methods include:
- __init__() : Initialize a new CollectionConfig instance with a vector configuration.
Instance variables:
- vector_config : An instance of VectorConfig representing the configuration for the
vector embeddings.
"""
vector_config: VectorConfig