Skip to content

Commit ce4a5f3

Browse files
committed
Update project files for improved organization and clarity
- Added new entries to .gitignore to exclude ebook and workshop files. - Introduced .prettierignore to prevent formatting of specific NDJSON files. - Made minor formatting adjustments in README and various markdown files for consistency. - Updated JSON and YAML schemas to streamline data structure requirements. - Enhanced documentation across multiple files to improve clarity and maintainability.
1 parent e07fd03 commit ce4a5f3

File tree

113 files changed

+67472
-7034
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+67472
-7034
lines changed

.github/workflows/gh-pages.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
deploy:
@@ -15,30 +15,30 @@ jobs:
1515
id-token: write
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v4
1919

20-
- name: Install uv
21-
uses: astral-sh/setup-uv@v4
22-
with:
23-
version: "latest"
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v4
22+
with:
23+
version: "latest"
2424

25-
- name: Setup Python
26-
run: uv python install 3.11
25+
- name: Setup Python
26+
run: uv python install 3.11
2727

28-
- name: Install dependencies
29-
run: uv sync
28+
- name: Install dependencies
29+
run: uv sync
3030

31-
- name: Build site
32-
run: uv run mkdocs build
31+
- name: Build site
32+
run: uv run mkdocs build
3333

34-
- name: Setup Pages
35-
uses: actions/configure-pages@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v4
3636

37-
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v3
39-
with:
40-
path: './site'
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: "./site"
4141

42-
- name: Deploy to GitHub Pages
43-
id: deployment
44-
uses: actions/deploy-pages@v4
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ebook/
12
.cache
23
.DS_Store
34
.venv
@@ -57,4 +58,8 @@ coverage.xml
5758
.dmypy.json
5859
chroma_db/
5960
logs/
60-
nohup.out
61+
nohup.out
62+
63+
# Workshop files
64+
docs/workshops/*.pdf
65+
docs/workshops/*.txt

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore NDJSON-style files that are not valid single JSON documents
2+
cohort_2/week5/queries.json
3+
latest/week5/queries.json
4+
5+

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,27 +175,31 @@ mkdocs build
175175
## Getting Started
176176

177177
### Prerequisites
178+
178179
- Python 3.11 (required - the project uses specific features from this version)
179180
- `uv` package manager (recommended) or `pip`
180181

181182
### Installation
182183

183184
1. Clone the repository
184185
2. Install dependencies:
186+
185187
```bash
186188
# Using uv (recommended)
187189
uv install
188-
190+
189191
# Or using pip
190192
pip install -e .
191193
```
194+
192195
3. Start with `/latest/week0/` for the most up-to-date content
193196
4. Follow the notebooks in sequential order within each week
194197
5. Reference the corresponding book chapters in `/docs` for deeper understanding
195198

196199
### Code Quality
197200

198201
Before committing changes, run:
202+
199203
```bash
200204
# Format and fix code issues
201205
uv run ruff check --fix --unsafe-fixes .
@@ -238,7 +242,7 @@ Want to learn more about RAG? Take our free email course and get the latest news
238242
**Join thousands of developers who are building better AI applications with our proven methodology.**
239243

240244
--8<--
241-
"snippets/enrollment-button.md"
245+
"snippets/enrollment-button.md"
242246
--8<--
243247

244-
*Learn evaluation strategies, user experience design, and architectural patterns that actually work in production.*
248+
_Learn evaluation strategies, user experience design, and architectural patterns that actually work in production._

0 commit comments

Comments
 (0)