muryshev's picture
update
9390ea2
raw
history blame contribute delete
469 Bytes
from sqlalchemy import (
Integer,
String,
)
from sqlalchemy.orm import relationship, 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)