status-law-gbot / src /knowledge_base

Commit History

refacktor chat history
a29ef8b

Rulga commited on

Refactor dataset initialization to use configuration settings for improved maintainability and clarity
1804ce0

Rulga commited on

Update langchain-huggingface version and adjust imports in dataset and vector_store modules
9b48f6f

Rulga commited on

Refactor save_chat_history and get_chat_history methods for improved logging and consistent data structure
2762e86

Rulga commited on

Enhance error handling in DatasetManager by checking for 'messages' or 'history' key in chat data
ffc022a

Rulga commited on

Refactor DatasetManager to use DATASET_ID for dataset name and improve chat history file handling and validation
e81d67d

Rulga commited on

Refactor get_chat_history method to improve file handling and logging for chat history retrieval
ca2ef97

Rulga commited on

Add logging for chat history retrieval and error handling in DatasetManager
256331a

Rulga commited on

Update imports and refactor model configuration to use ACTIVE_MODEL for improved clarity and consistency
f33b7bd

Rulga commited on

Remove force update flag from dataset upload in create_vector_store function for improved clarity
8100019

Rulga commited on

Enhance download_vector_store method with improved logging, file verification, and streamlined loading of vector store from temporary directory
7db5512

Rulga commited on

Refactor create_vector_store function to streamline vector store creation and update logic, enhance logging, and enforce force update during dataset upload
f44c4e4

Rulga commited on

Add debug logging for vector store file checks in DatasetManager
b67f5d5

Rulga commited on

used only dataset
a55b18e

Rulga commited on

Refactor vector store loading logic to return the vector store object instead of a string message and enhance error handling during download
db04008

Rulga commited on

Enhance UI for Knowledge Base Management and improve dataset management documentation
e8aaf11

Rulga commited on

Refactor knowledge base management functions for improved clarity and error handling
f58bd9b

Rulga commited on

Refactor vector store download and loading logic for improved error handling and clarity
3f8e971

Rulga commited on

Translate comments and error messages to English for consistency and clarity
0bb77b3

Rulga commited on

fix english 1
9949f77

Rulga commited on

Add Hugging Face token validation and improve error handling in chat history saving
80e6314

Rulga commited on

Enhance chat history saving by adding directory existence check, improved metadata storage, and explicit error handling during upload
2505975

Rulga commited on

Enhance chat history saving by ensuring complete responses are stored and improving error handling
847ac0b

Rulga commited on

Add token validation and repository creation for Hugging Face datasets
8ef4162

Rulga commited on

Add functionality to save and upload vector store files, and clean up local files post-upload
7ac0faf

Rulga commited on

Enhance vector store management by adding loading and uploading functionality, and update .gitattributes for new file types
c05e788

Rulga commited on

Refactor dataset loading logic for improved performance and maintainability
68997ff

Rulga commited on

Implement DatasetManager for managing Hugging Face dataset structure and chat history
3f6bcbe

Rulga commited on

Initialize project structure and add configuration for knowledge base and document loading
0f93e9d

Rulga commited on