> ## Documentation Index
> Fetch the complete documentation index at: https://ahen.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# configs component

File to change and or add:

<Tree>
  <Tree.Folder name="configs" defaultOpen>
    <Tree.Folder name="vector_stores" defaultOpen>
      <Tree.File name="skypydb.py" />
    </Tree.Folder>
  </Tree.Folder>
</Tree>

<Steps titleSize="h3">
  <Step title="skypydb.py">
    ```python Python theme={"system"}
    from typing import Any, ClassVar, Dict, Optional

    from pydantic import BaseModel, ConfigDict, Field, model_validator


    class SkypyDBConfig(BaseModel):
        try:
            from skypydb.api.vector_client import VectorClient
        except ImportError:
            raise ImportError("The 'skypydb' library is required. Please install it using 'pip install skypydb'.")
        VectorClient: ClassVar[type] = VectorClient

        collection_name: str = Field("mem0", description="Default name for the collection")
        path: Optional[str] = Field(None, description="Path to the database directory")

        @model_validator(mode="before")
        @classmethod
        def validate_extra_fields(cls, values: Dict[str, Any]) -> Dict[str, Any]:
            allowed_fields = set(cls.model_fields.keys())
            input_fields = set(values.keys())
            extra_fields = input_fields - allowed_fields
            if extra_fields:
                raise ValueError(
                    f"Extra fields not allowed: {', '.join(extra_fields)}. "
                    f"Please input only the following fields: {', '.join(allowed_fields)}"
                )
            return values

        model_config = ConfigDict(arbitrary_types_allowed=True)
    ```
  </Step>
</Steps>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.