You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @yangyousan123! I'm here to assist you with any bugs, questions, or contributions you might have. Let's tackle this issue together!
Yes, there is a typo in the __repr__ method of the SummaryChunk class in the knowledge_metadata_model.py file. The method uses metadata instead of meta_data. It should be changed to self.meta_data for consistency. Here is the corrected line:
问题描述 / Problem Description
knowledge_metadata_model.py代码有笔误
注意到 repr 方法中使用了 metadata 而不是 meta_data,这可能是笔误。为了保持一致性,建议修改为 self.meta_data。
def __repr__(self): return ( f"<SummaryChunk(id='{self.id}', kb_name='{self.kb_name}', summary_context='{self.summary_context}'," f" doc_ids='{self.doc_ids}', metadata='{self.metadata}')>" )
附加信息 / Additional Information
Langchain-Chatchat-0.3.1.3\libs\chatchat-server\chatchat\server\db\models\knowledge_metadata_model.py
The text was updated successfully, but these errors were encountered: