Skip to content

Commit cf5f773

Browse files
committed
wip
1 parent fd5dc57 commit cf5f773

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM arm64v8/python:3.9.17-alpine
1+
FROM python:3.9.17-alpine
22
WORKDIR /app
33

4-
RUN apk add build-base linux-headers clang rust cargo
4+
RUN apk add build-base linux-headers clang
55
COPY requirements.txt requirements_docker.txt ./
66
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
77
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements_docker.txt

gpt.yml.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
markdown: True
2+
openai_api_key: <YOUR_OPENAI_API_KEY_HERE>
3+
log_file: /mnt/gpt.log
4+
log_level: DEBUG
5+
history_file: /mnt/history
6+
assistants:
7+
python:
8+
model: gpt-4-0613
9+
enable_code_execution: True
10+
messages:
11+
- { role: "system", content: "You are a helpful assistant. You have access to a Python environment. You can install missing packages. You have access to the internet. The user can see the code you are executing and its output: do not repeat them to the user verbatim. Pre-installed packages: numpy, matplotlib, ipython, ipykernel." }
12+

0 commit comments

Comments
 (0)