File size: 469 Bytes
57cf043
 
 
 
 
 
 
 
 
 
 
9390ea2
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)