Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzaizai2k committed Feb 7, 2024
1 parent 650764f commit c1ab7b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.10-slim
# FROM mrzaizai2k/llm_n_rag


Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,21 @@ For Linux you must open the port first:

sudo ufw allow 8083

Build, run and test docker:
docker:

docker build -t mrzaizai2k/llm_n_rag .
docker run -p 8083:8083 -v data:/app/data -e OPENAI_API_KEY llm_test
curl -X POST -H "Content-Type: application/json" -d '{"query": "who is karger"}' http://localhost:8083/query

Run docker compose


docker compose -f "compose.yaml" up -d --build
Build, run docker compose:

Hoặc
docker-compose up

Test docker on port 8083:

curl -X POST -H "Content-Type: application/json" -d '{"query": "who is karger"}' http://localhost:8083/query
curl -X POST http://localhost:8083/update

## Example Uses

Explore practical implementations and demonstrations of the functions in the `notebook` folder. These examples showcase real-world scenarios, illustrating how the chatbot can be effectively utilized for stock market monitoring.
Expand Down
1 change: 0 additions & 1 deletion setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ comm==0.2.0
contourpy==1.2.0
cryptography==41.0.7
cssselect==1.2.0
ctransformers==0.2.27
cycler==0.12.1
dataclasses-json==0.6.4
debugpy==1.8.0
Expand Down

0 comments on commit c1ab7b0

Please sign in to comment.