Skip to content

Commit

Permalink
pre-download tiktoken encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Sep 27, 2024
1 parent d5e248d commit d51f061
Show file tree
Hide file tree
Showing 16 changed files with 22,212 additions and 223,225 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/run_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ jobs:
pip install -e libs//partners/mistralai
pip install jupyter langgraph click pypdf vcrpy
- name: Pre-download tiktoken files
run: |
python docs/scripts/download_tiktoken.py
- name: Prepare notebooks
run: |
python docs/scripts/prepare_notebooks_for_ci.py --comment-install-cells
- name: Run notebooks
env:
TIKTOKEN_CACHE_DIR: ''
# these won't actually be used because of the VCR cassettes
# but need to set them to avoid triggering getpass()
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Expand Down
608 changes: 305 additions & 303 deletions docs/cassettes/qa_chat_history_0005810b-1b95-4666-a795-08d80e478b83.yaml

Large diffs are not rendered by default.

311 changes: 155 additions & 156 deletions docs/cassettes/qa_chat_history_0e89c75f-7ad7-4331-a2fe-57579eb8f840.yaml

Large diffs are not rendered by default.

264 changes: 132 additions & 132 deletions docs/cassettes/qa_chat_history_1046c92f-21b3-4214-907d-92878d8cba23.yaml

Large diffs are not rendered by default.

327 changes: 164 additions & 163 deletions docs/cassettes/qa_chat_history_17021822-896a-4513-a17d-1d20b1c5381c.yaml

Large diffs are not rendered by default.

372 changes: 17 additions & 355 deletions docs/cassettes/qa_chat_history_170403a2-c914-41db-85d8-a2c381da112d.yaml

Large diffs are not rendered by default.

413 changes: 210 additions & 203 deletions docs/cassettes/qa_chat_history_570d8c68-136e-4ba5-969a-03ba195f6118.yaml

Large diffs are not rendered by default.

265 changes: 133 additions & 132 deletions docs/cassettes/qa_chat_history_6d0a7a73-d151-47d9-9e99-b4f3291c0322.yaml

Large diffs are not rendered by default.

13,854 changes: 6,927 additions & 6,927 deletions docs/cassettes/qa_chat_history_71c32048-1a41-465f-a9e2-c4affc332fd9.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit d51f061

Please sign in to comment.