Skip to content

Commit 77845f1

Browse files
committed
Update Python version to 3.12.4 and add .env.Example file
1 parent 4bf6eac commit 77845f1

File tree

5 files changed

+3636
-7
lines changed

5 files changed

+3636
-7
lines changed

llama_quickstart/.env.example

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
TOGETHER_API_KEY=<your-together-api-key>
2-
RESTACK_CLOUD_TOKEN=<your-restack-cloud-token>
3-
RESTACK_ENGINE_ID=<your-restack-engine-id>
4-
RESTACK_ENGINE_ADDRESS=<your-restack-engine-address>
5-
RESTACK_ENGINE_API_KEY=<your-restack-engine-api-key>
2+
3+
# Restack Cloud (Optional)
4+
5+
# RESTACK_ENGINE_ID=<your-restack-engine-id>
6+
# RESTACK_ENGINE_ADDRESS=<your-restack-engine-address>
7+
# RESTACK_ENGINE_API_KEY=<your-restack-engine-api-key>
8+
# RESTACK_CLOUD_TOKEN=<your-restack-cloud-token>

llama_quickstart/.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
.DS_Store
2-
.env
3-
poetry.lock
2+
.env

llama_quickstart/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,27 @@ The AI workflow will search hacker news based on a query, crawl each project's w
3838
cd examples-python/examples/llama_quickstart
3939
```
4040

41+
4.
42+
4143
4. Install dependencies using Poetry:
4244

45+
```bash
46+
poetry env use 3.12.4
47+
```
48+
49+
```bash
50+
poetry shell
51+
```
52+
4353
```bash
4454
poetry install
4555
```
4656

57+
```bash
58+
poetry env info # Optional: copy the interpreter path to use in your IDE (e.g. Cursor, VSCode, etc.)
59+
```
60+
61+
4762
5. Set up your environment variables:
4863

4964
Copy `.env.example` to `.env` and add your Together AI API key:

0 commit comments

Comments
 (0)