niting089 commited on
Commit
84079dc
·
1 Parent(s): e5a2b34

adding application file

Browse files
Files changed (5) hide show
  1. .DS_Store +0 -0
  2. Dockerfile +11 -0
  3. chainlit.md +1 -0
  4. data/paul_graham_essays.txt +0 -0
  5. requirements.txt +100 -0
.DS_Store ADDED
Binary file (6.15 kB). View file
 
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+ RUN useradd -m -u 1000 user
3
+ USER user
4
+ ENV HOME=/home/user \
5
+ PATH=/home/user/.local/bin:$PATH
6
+ WORKDIR $HOME/app
7
+ COPY --chown=user . $HOME/app
8
+ COPY ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
+ COPY . .
11
+ CMD ["chainlit", "run", "app.py", "--port", "7860"]
chainlit.md ADDED
@@ -0,0 +1 @@
 
 
1
+ # FILL OUT YOUR CHAINLIT MD HERE WITH A DESCRIPTION OF YOUR APPLICATION
data/paul_graham_essays.txt ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiofiles==23.2.1
2
+ aiohappyeyeballs==2.4.3
3
+ aiohttp==3.10.8
4
+ aiosignal==1.3.1
5
+ annotated-types==0.7.0
6
+ anyio==3.7.1
7
+ async-timeout==4.0.3
8
+ asyncer==0.0.2
9
+ attrs==24.2.0
10
+ bidict==0.23.1
11
+ certifi==2024.8.30
12
+ chainlit==0.7.700
13
+ charset-normalizer==3.3.2
14
+ click==8.1.7
15
+ dataclasses-json==0.5.14
16
+ langchain_huggingface==0.0.3
17
+ Deprecated==1.2.14
18
+ distro==1.9.0
19
+ exceptiongroup==1.2.2
20
+ fastapi==0.100.1
21
+ fastapi-socketio==0.0.10
22
+ filetype==1.2.0
23
+ frozenlist==1.4.1
24
+ googleapis-common-protos==1.65.0
25
+ greenlet==3.1.1
26
+ grpcio==1.66.2
27
+ grpcio-tools==1.62.3
28
+ h11==0.14.0
29
+ h2==4.1.0
30
+ hpack==4.0.0
31
+ httpcore==0.17.3
32
+ httpx==0.24.1
33
+ hyperframe==6.0.1
34
+ idna==3.10
35
+ importlib_metadata==8.4.0
36
+ jiter==0.5.0
37
+ jsonpatch==1.33
38
+ jsonpointer==3.0.0
39
+ langchain==0.3.0
40
+ langchain-community==0.3.0
41
+ langchain-core==0.3.1
42
+ langchain-openai==0.2.0
43
+ langchain-qdrant==0.1.4
44
+ langchain-text-splitters==0.3.0
45
+ langsmith==0.1.121
46
+ Lazify==0.4.0
47
+ marshmallow==3.22.0
48
+ multidict==6.1.0
49
+ mypy-extensions==1.0.0
50
+ nest-asyncio==1.6.0
51
+ numpy==1.26.4
52
+ openai==1.51.0
53
+ opentelemetry-api==1.27.0
54
+ opentelemetry-exporter-otlp==1.27.0
55
+ opentelemetry-exporter-otlp-proto-common==1.27.0
56
+ opentelemetry-exporter-otlp-proto-grpc==1.27.0
57
+ opentelemetry-exporter-otlp-proto-http==1.27.0
58
+ opentelemetry-instrumentation==0.48b0
59
+ opentelemetry-proto==1.27.0
60
+ opentelemetry-sdk==1.27.0
61
+ opentelemetry-semantic-conventions==0.48b0
62
+ orjson==3.10.7
63
+ packaging==23.2
64
+ portalocker==2.10.1
65
+ protobuf==4.25.5
66
+ pydantic==2.9.2
67
+ pydantic-settings==2.5.2
68
+ pydantic_core==2.23.4
69
+ PyJWT==2.9.0
70
+ PyMuPDF==1.24.10
71
+ PyMuPDFb==1.24.10
72
+ python-dotenv==1.0.1
73
+ python-engineio==4.9.1
74
+ python-graphql-client==0.4.3
75
+ python-multipart==0.0.6
76
+ python-socketio==5.11.4
77
+ PyYAML==6.0.2
78
+ qdrant-client==1.11.2
79
+ regex==2024.9.11
80
+ requests==2.32.3
81
+ simple-websocket==1.0.0
82
+ sniffio==1.3.1
83
+ SQLAlchemy==2.0.35
84
+ starlette==0.27.0
85
+ syncer==2.0.3
86
+ tenacity==8.5.0
87
+ tiktoken==0.7.0
88
+ tomli==2.0.1
89
+ tqdm==4.66.5
90
+ typing-inspect==0.9.0
91
+ typing_extensions==4.12.2
92
+ uptrace==1.26.0
93
+ urllib3==2.2.3
94
+ uvicorn==0.23.2
95
+ watchfiles==0.20.0
96
+ websockets==13.1
97
+ wrapt==1.16.0
98
+ wsproto==1.2.0
99
+ yarl==1.13.1
100
+ zipp==3.20.2