muryshev's picture
update
82b615f
raw
history blame contribute delete
478 Bytes
from sqlalchemy import (
String
)
from sqlalchemy.orm import mapped_column
from components.dbo.models.base import Base
class Log(Base):
__tablename__ = 'log'
user_request = mapped_column(String)
qe_result = mapped_column(String)
search_result = mapped_column(String)
llm_result = mapped_column(String)
llm_settings = mapped_column(String)
user_name = mapped_column(String)
error = mapped_column(String)
chat_id = mapped_column(String)