# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import Dict, Iterable
from typing_extensions import Required, TypedDict

from .text_content_param import TextContentParam

__all__ = ["VectorStoreUpsertParams", "Vector"]


class VectorStoreUpsertParams(TypedDict, total=False):
    vectors: Required[Iterable[Vector]]
    """Array of documents to upsert"""


class Vector(TypedDict, total=False):
    """A document for upsert operations."""

    id: Required[str]
    """Unique document ID"""

    content: Required[TextContentParam]
    """Text content for documents."""

    metadata: Dict[str, object]
    """Key-value metadata"""
