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

from __future__ import annotations
from .knowledgeretrievedchunk import (
    KnowledgeRetrievedChunk,
    KnowledgeRetrievedChunkTypedDict,
)
from friendli.core.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class ServerlessKnowledgeRetrievalSuccessTypedDict(TypedDict):
    """Knowledge retrieval response."""

    results: List[KnowledgeRetrievedChunkTypedDict]
    "A list of result."


class ServerlessKnowledgeRetrievalSuccess(BaseModel):
    """Knowledge retrieval response."""

    results: List[KnowledgeRetrievedChunk]
    "A list of result."
