MCPcopy Index your code
hub / github.com/dataease/SQLBot / ChatInfo

Class ChatInfo

backend/apps/chat/models/chat_model.py:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177
178
179class ChatInfo(BaseModel):
180 id: Optional[int] = None
181 create_time: datetime = None
182 create_by: int = None
183 brief: str = ''
184 chat_type: str = "chat"
185 datasource: Optional[int] = None
186 engine_type: str = ''
187 ds_type: str = ''
188 datasource_name: str = ''
189 datasource_exists: bool = True
190 recommended_question: Optional[str] = None
191 recommended_generate: Optional[bool] = False
192 records: List[ChatRecord | dict] = []
193
194
195class ChatLogHistoryItem(BaseModel):

Callers 2

get_chat_with_recordsFunction · 0.90
create_chatFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected