Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Feb 11, 2025
1 parent 7430035 commit e4bb2d1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions py/shared/api/models/retrieval/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@ class Config:


class RAGResponse(BaseModel):
# generated_answer: str = Field(
# ..., description="The generated completion from the RAG process"
# )
generated_answer: str = Field(
..., description="The generated completion from the RAG process"
)
search_results: AggregateSearchResult = Field(
..., description="The search results used for the RAG process"
)
# citations: Optional[list[Citation]] = Field(
# None,
# description="Structured citation metadata, if you do citation extraction.",
# )
# metadata: dict = Field(
# default_factory=dict,
# description="Additional data returned by the LLM provider",
# )
citations: Optional[list[Citation]] = Field(
None,
description="Structured citation metadata, if you do citation extraction.",
)
metadata: dict = Field(
default_factory=dict,
description="Additional data returned by the LLM provider",
)
completion: str = Field(
...,
description="The generated completion from the RAG process",
Expand Down

0 comments on commit e4bb2d1

Please sign in to comment.