status-law-gbot / app.py

Commit History

Refactor app.py and settings.py: Enhance Hugging Face token handling with improved validation and logging
a42e4cc

Rulga commited on

Refactor app.py: Remove PRO_ONLY_MODELS and simplify model info update logic
b3664cc

Rulga commited on

Refactor app.py: Ensure IS_PRO_ACCOUNT is available and improve comments for clarity
92f4eab

Rulga commited on

Refactor app.py: Add account status check and warning for PRO-only models in model info update
d3a3bab

Rulga commited on

Refactor settings.py: Implement account type check for HuggingFace API and adjust settings based on account status.
6b8ac6b

Rulga commited on

Refactor app.py: Enhance error handling for API requests by adding a specific message for 403 Forbidden errors.
20e06cf

Rulga commited on

Refactor app.py: Remove redundant button click handlers for automatic knowledge base updates in the UI.
2be5d0e

Rulga commited on

Refactor app.py: Improve layout and organization of Knowledge Base management UI, enhance button functionality, and streamline information retrieval process.
9ad2a2f

Rulga commited on

Refactor app.py: Remove unused functions for URL selection and knowledge base updates, and clean up event handlers in the Knowledge Base tab section.
2f63fc3

Rulga commited on

Enhance knowledge base rebuilding functionality: Add method to rebuild knowledge base from selected URLs, improve error handling, and log actions during vector store download process.
ce6f5b5

Rulga commited on

Refactor app.py: Clean up imports by removing unused ones and correcting the import path for ChatEvaluator.
9b2029e

Rulga commited on

Enhance knowledge base update functionality: Add methods to retrieve selected URLs and update the knowledge base with selected sources, improving error handling and logging.
b7c98a7

Rulga commited on

Refactor knowledge base update and vector store download: Simplify URL selection, enhance error handling, and improve temporary directory management in download_vector_store method.
e0aee71

Rulga commited on

Refactor app.py and dataset.py: Update comments for clarity, enhance download_vector_store method with improved error handling, and streamline vector store download process.
6c3f830

Rulga commited on

Enhance knowledge base management: Add functions to retrieve and save knowledge base metadata, improve error handling, and update constants for better clarity and functionality.
f7e43c2

Rulga commited on

Refactor README and app.py: Update dataset structure in README, add knowledge base management features in app.py, and implement last update date retrieval in DatasetManager.
0dd9926

Rulga commited on

Refactor fine-tuning process: Update function to utilize evaluated chat history and improve error handling for training data preparation.
9b0f151

Rulga commited on

Refactor evaluation interface: Update label for evaluated pairs checkbox and improve documentation for QA pairs dataframe function.
c564619

Rulga commited on

Refactor conversation deletion logic: Simplify annotation file path handling by reducing the number of paths considered for deletion.
6f3f7b2

Rulga commited on

Refactor training data export function and add dataset structure repair tool
3595c1e

Rulga commited on

Refactor conversation deletion logic: Enhance file deletion process for conversations by supporting multiple annotation file paths and updating file retrieval method.
8e9845c

Rulga commited on

Refactor conversation deletion logic: Update file retrieval method and enhance error handling for dataset access.
3f6d6af

Rulga commited on

Refactor conversation deletion logic: Simplify file retrieval and deletion process for chat files and update annotation file handling.
9eddb9c

Rulga commited on

Refactor conversation deletion logic: Streamline deletion process by utilizing HF API directly and reset evaluator cache after deletion.
39a2c2a

Rulga commited on

Add DATASET_ANNOTATIONS_PATH import and update chat evaluator initialization to use annotations directory
e89a8a3

Rulga commited on

Initialize chat evaluator and create state for evaluator in the interface
74d5dc1

Rulga commited on

tab
cec57f0

Rulga commited on

Refactor conversation deletion docstrings: Improve clarity and formatting of docstrings for delete_conversation_from_huggingface and delete_conversation functions.
012d247

Rulga commited on

Add conversation deletion functionality: Implement methods to delete conversation files from Hugging Face dataset and local storage, enhancing data management capabilities.
bb55c03

Rulga commited on

Refactor table selection handler: Enhance row selection logic by passing dataframe as input for improved error handling and clarity
0608f93

Rulga commited on

Refactor table selection handler in app.py: Improve row selection logic for clarity and reliability
e6789a5

Rulga commited on

Evaluated
2143f1a

Rulga commited on

Refactor evaluation interface in evaluation_interface.py: Update DataFrame columns for clarity in QA pairs display
4903398

Rulga commited on

Refactor Gradio interface in app.py: Change height to row_count for better layout control
f88390e

Rulga commited on

Refactor evaluation interface in app.py: Enhance layout and improve visibility of status and report sections
30f3c9d

Rulga commited on

Refactor app.py: Remove debug imports and enhance table styling in Gradio interface
6b5c2b1

Rulga commited on

Add pandas import and package version checks in app.py
c44066b

Rulga commited on

Add pandas import for data manipulation in app.py
9076695

Rulga commited on

Add pandas import for data manipulation in app.py
a20584b

Rulga commited on

Refactor app layout and add repair script for conversation IDs
a76b710

Rulga commited on

Generate conversation ID if none exists in respond_and_clear function, ensuring non-null ID for chat history saving
5d0697a

Rulga commited on

Enhance evaluation interface by adding force reload option, improving data refresh handling, and updating QA pairs display logic
75bf67b

Rulga commited on

Update user preferences saving method to upload JSON as bytes instead of a string
5757546

Rulga commited on

Enhance system message clarity by adding explicit language instruction and adjust logging level for chat file discovery
e947ae0

Rulga commited on

Simplify system message by removing redundant translation instruction
c961a1e

Rulga commited on

Remove empty columns in UI layout for cleaner design
5fa7fb2

Rulga commited on

Refactor language detection to simplify implementation and improve reliability
28f84c6

Rulga commited on

Adjust column scaling in UI layout for improved system prompt visibility
82cc4ee

Rulga commited on

Refactor language detection setup and adjust UI layout for system prompt
e6a288f

Rulga commited on

Refactor chat history handling to use DATASET_CHAT_HISTORY_PATH and update system message for multilingual support
9520331

Rulga commited on