"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from duckyai.types import BaseModel
from typing_extensions import TypedDict


class AskIndexResponseSourceTypedDict(TypedDict):
    doc_id: str
    r"""The unique identifier of the source document"""
    relevance_score: int
    r"""Relevance score for this source (0 to 1000)"""


class AskIndexResponseSource(BaseModel):
    doc_id: str
    r"""The unique identifier of the source document"""

    relevance_score: int
    r"""Relevance score for this source (0 to 1000)"""
