We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33d15d commit f60117eCopy full SHA for f60117e
README.md
@@ -5,6 +5,8 @@
5
To install project dependencies, including development dependencies:
6
7
```console
8
+$ source venv/bin/activate;
9
+
10
$ pip install -e '.[dev]'
11
```
12
@@ -19,3 +21,25 @@ To run the test suite:
19
21
20
22
$ pytest
23
24
25
+To run locally:
26
27
+Pre-requisites:
28
29
+Must have redis and lamma server up and running.
30
31
32
+```console
33
+$ docker compose -f opentelemetry_collector/docker-compose.yml up -d
34
35
+$ REDIS_URL='redis://localhost:6379' LLAMA_SERVER_URL='http://localhost:11434' python3 -m ai_server.__main__
36
+```
37
38
+Send Request:
39
40
+Example
41
42
+```curl
43
+curl --location 'localhost:5000/chat' \
44
+--form 'content="asdf asdf asdasdf ad"'
45
0 commit comments