Doc-chat / app.py

Commit History

added status endpoint
a070fd0
Running

Rulga commited on

Refactor FastAPI server launch to use multiprocessing for improved performance
0005aa0

Rulga commited on

Refactor API endpoints by moving status to a dedicated endpoint and removing the old root endpoint; update Gradio app launch to integrate with FastAPI.
2d58515

Rulga commited on

sintax error fixed
5b342fb

Rulga commited on

Refactor FastAPI and Gradio integration by commenting out the old server launch code and clarifying the server port usage in the Gradio interface.
75ffb15

Rulga commited on

Change server port from 7860 to 7861 in Gradio interface launch
efa2a39

Rulga commited on

Add clear_history function to reset chat history and conversation ID
f4e11b9

Rulga commited on

Add conversation_id state to Gradio interface
e0b861a

Rulga commited on

changed port 8000 till 7860
d7d3aad

Rulga commited on

Remove unnecessary comments and streamline Matplotlib configuration setup
b518cb7

Rulga commited on

Refactor chat API interaction to improve error handling and update conversation history
cd9e2f6

Rulga commited on

change interface
1349452

Rulga commited on

Add function to calculate actual knowledge base size and update status messages
54a2558

Rulga commited on

Add health check for FastAPI server startup and improve error handling
0479845

Rulga commited on

Add Matplotlib cache directory and update Dockerfile to create it
af49a43

Rulga commited on

Add default value checks for knowledge base version and size in status response
7d17621

Rulga commited on

Add knowledge base status check and enhance chat interface with new buttons and instructions
f4e115f

Rulga commited on

Remove unused import of StaticFiles from FastAPI in app.py
6188e73

Rulga commited on

Enhance sys.path modification to prevent duplicate entries for current directory
5855a4f

Rulga commited on

Add sys.path modification to include current directory for module imports
7299972

Rulga commited on

Refactor import path for FastAPI application to align with new directory structure
8037dca

Rulga commited on

used Gradio
b88df70

Rulga commited on

Refactor Dockerfile for improved caching and add health check endpoint
9ab4c95

Rulga commited on

del TRANSFORMERS_CACHE
79050c2

Rulga commited on

Set up HuggingFace cache environment variables and create necessary directories in app.py
645fb35

Rulga commited on

Add data snapshot path and reorder dataset repository constant in app.py
472d2c6

Rulga commited on

rebild project
68b95db

Rulga commited on

Refactor app.py to enhance logging, add status endpoints, and improve knowledge base management
080d622

Rulga commited on

change python 3.11 slim and others
350af29

Rulga commited on

Add startup status display and enhance server initialization in app.py
84f1cd4

Rulga commited on

Add directory creation and health check functionality in app.py
22d424f

Rulga commited on

Enhance error handling and add health check endpoint; refactor report generation in LogAnalyzer
c629e49

Rulga commited on

Refactor project structure and add chat analysis functionality
8c4af83

Rulga commited on

Update model name for embeddings in app.py
f289b0a

Rulga commited on

Update URL for tariffs against extradition in app.py
bb5baba

Rulga commited on

del streamlit
5193d26

Rulga commited on

old version
ea4670b

Rulga commited on

Add intentional division by zero to test error handling in app.py
373afaa

Rulga commited on

Refactor startup event in app.py to streamline knowledge base loading; improve error handling and logging
02295eb

Rulga commited on

Update URL for tariffs against extradition to include language code
d6b8854

Rulga commited on

Refactor startup logic in app.py to prioritize knowledge base rebuild; implement fallback loading for existing base on failure
d40917b

Rulga commited on

Add environment variable checks and improve cache directory initialization in app.py
f2dcec0

Rulga commited on

Remove stop_space.py as its functionality is no longer needed
0caff5c

Rulga commited on

Initialize cache directories in app.py and update model identifier; add sentence-transformers to requirements
d957ab0

Rulga commited on

Refactor Dockerfile to improve cache directory structure and permissions; update app.py to use a more accurate model identifier and enhance logging for model initialization.
2cacc96

Rulga commited on

cl min tid
2aa225e

Rulga commited on

Improve knowledge base loading logic and logging in app.py
f631be3

Rulga commited on

Add logging and knowledge base configuration to app.py
a38fa3f

Rulga commited on

Update README and enhance app.py with Docker support, improved logging, and URL content loading
1fc15a8

Rulga commited on

Add missing comma to URL list in app.py
e50357d

Rulga commited on