Doc-chat / app.py

Commit History

  1. added status endpoint Running

    a070fd0

  1. Refactor FastAPI server launch to use multiprocessing for improved performance

    0005aa0
  2. 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
  3. sintax error fixed

    5b342fb
  4. Refactor FastAPI and Gradio integration by commenting out the old server launch code and clarifying the server port usage in the Gradio interface.

    75ffb15
  5. Change server port from 7860 to 7861 in Gradio interface launch

    efa2a39

  1. Add clear_history function to reset chat history and conversation ID

    f4e11b9
  2. Add conversation_id state to Gradio interface

    e0b861a
  3. changed port 8000 till 7860

    d7d3aad
  4. Remove unnecessary comments and streamline Matplotlib configuration setup

    b518cb7
  5. Refactor chat API interaction to improve error handling and update conversation history

    cd9e2f6
  6. change interface

    1349452
  7. Add function to calculate actual knowledge base size and update status messages

    54a2558
  8. Add health check for FastAPI server startup and improve error handling

    0479845
  9. Add Matplotlib cache directory and update Dockerfile to create it

    af49a43

  1. Add default value checks for knowledge base version and size in status response

    7d17621
  2. Add knowledge base status check and enhance chat interface with new buttons and instructions

    f4e115f
  3. Remove unused import of StaticFiles from FastAPI in app.py

    6188e73
  4. Enhance sys.path modification to prevent duplicate entries for current directory

    5855a4f
  5. Add sys.path modification to include current directory for module imports

    7299972
  6. Refactor import path for FastAPI application to align with new directory structure

    8037dca
  7. used Gradio

    b88df70

  1. Refactor Dockerfile for improved caching and add health check endpoint

    9ab4c95
  2. del TRANSFORMERS_CACHE

    79050c2

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

    645fb35
  2. Add data snapshot path and reorder dataset repository constant in app.py

    472d2c6
  3. rebild project

    68b95db
  4. Refactor app.py to enhance logging, add status endpoints, and improve knowledge base management

    080d622
  5. change python 3.11 slim and others

    350af29

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

    84f1cd4
  2. Add directory creation and health check functionality in app.py

    22d424f
  3. Enhance error handling and add health check endpoint; refactor report generation in LogAnalyzer

    c629e49
  4. Refactor project structure and add chat analysis functionality

    8c4af83
  5. Update model name for embeddings in app.py

    f289b0a

  1. Update URL for tariffs against extradition in app.py

    bb5baba
  2. del streamlit

    5193d26
  3. old version

    ea4670b
  4. Add intentional division by zero to test error handling in app.py

    373afaa
  5. Refactor startup event in app.py to streamline knowledge base loading; improve error handling and logging

    02295eb
  6. Update URL for tariffs against extradition to include language code

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

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

    f2dcec0
  9. Remove stop_space.py as its functionality is no longer needed

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

    d957ab0
  11. 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
  12. cl min tid

    2aa225e
  13. Improve knowledge base loading logic and logging in app.py

    f631be3
  14. Add logging and knowledge base configuration to app.py

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

    1fc15a8
  16. Add missing comma to URL list in app.py

    e50357d