Commit 43a95580 authored by Harris, Tyrone's avatar Harris, Tyrone
Browse files

Implemented feedback mechanism. quantized models, and fasttext.

parent 62403333
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -27,10 +27,12 @@ graph TD

    subgraph Output["Output"]
        N --> O[Display Answer in Chat]
        O --> P[Update DB]
        O --> P[Get User Feedback]
        P --> Q1[Store Feedback in DB]
        Q1 --> S[Update DB]
        style Output fill:#fcf,stroke:#333,stroke-width:2px,color:#000,fill-opacity:0.2;
    end

    P --> A
    S --> A

    classDef default text-align:center;
 No newline at end of file
+107 KiB (224 KiB)
Loading image diff...
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Download and install spaCy language model
# Download and install spaCy language model and coreference data
RUN python -m spacy download en_core_web_sm
RUN python -m spacy_experimental.coref.download en

+2 −2
Original line number Diff line number Diff line
#!/bin/bash

# Restart Redis server
brew services restart redis
brew services restart redis || { echo "Error restarting Redis. Exiting."; exit 1; }

# Restart PostgreSQL server
brew services restart postgresql
brew services restart postgresql || { echo "Error restarting PostgreSQL. Exiting."; exit 1; }

# Run the main program
python main.py
 No newline at end of file
Loading