Skip to content

Commit

Permalink
Merge pull request #28 from ajcwebdev/dev
Browse files Browse the repository at this point in the history
Create Test Files and Add Ability to Configure Local LLM Model
  • Loading branch information
ajcwebdev authored Sep 24, 2024
2 parents 8606c0c + c8aa3da commit 1b37e68
Show file tree
Hide file tree
Showing 16 changed files with 611 additions and 266 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ package-lock.json
.env
src/llms/models
.idea
build
build
deno.lock
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@ git clone https://github.com/ggerganov/llama.cpp && \
Run on a single YouTube video.

```bash
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --whisper large
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk"
```

Run on a YouTube playlist.

```bash
npm run as -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXMh4DQBigyvHSRTf2CSj129"
npm run as -- --playlist "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"
```

Run on a list of arbitrary URLs.

```bash
npm run as -- --urls "content/examples/urls.md"
npm run as -- --urls "content/example-urls.md"
```

Run on a local audio or video file.
Expand All @@ -115,18 +115,18 @@ npm run as -- --rss "https://ajcwebdev.substack.com/feed"
Use local LLM.

```bash
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --llama
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --llama
```

Use 3rd party LLM providers.

```bash
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --chatgpt GPT_4o_MINI
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --claude CLAUDE_3_5_SONNET
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --chatgpt GPT_4o_MINI
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --claude CLAUDE_3_5_SONNET
npm run as -- --video "https://www.youtube.com/watch?v=h41DF9GUqx4" --gemini GEMINI_1_5_PRO
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --cohere COMMAND_R_PLUS
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --mistral MISTRAL_LARGE
npm run as -- --video "https://www.youtube.com/watch?v=jKB0EltG9Jo" --octo LLAMA_3_1_405B
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --cohere COMMAND_R_PLUS
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --mistral MISTRAL_LARGE
npm run as -- --video "https://www.youtube.com/watch?v=MORMZXEaONk" --octo LLAMA_3_1_405B
```

Example commands for all available CLI options can be found in [`docs/examples.md`](/docs/examples.md).
Expand Down
4 changes: 2 additions & 2 deletions content/example-urls.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://www.youtube.com/watch?v=jKB0EltG9Jo
https://www.youtube.com/watch?v=RS-FuJ7rUsE
https://www.youtube.com/watch?v=MORMZXEaONk
https://www.youtube.com/watch?v=nXtaETBZ29g
Loading

0 comments on commit 1b37e68

Please sign in to comment.