Spaces:
Runtime error
Runtime error
File size: 326 Bytes
105b369 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from typing import Optional
from pydantic import BaseModel
class References(BaseModel):
"""Model for LLM references"""
# The question asked by the user.
query: str
# The references from the vector database.
references: Optional[str] = None
# Performance in seconds.
time: Optional[float] = None
|