@@ -49,49 +49,13 @@ curl --json '{
49
49
}' http://localhost:3000/process
50
50
```
51
51
52
- ### Playlist Type
53
-
54
- ``` bash
55
- curl --json ' {
56
- "type": "playlist",
57
- "url": "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"
58
- }' http://localhost:3000/process
59
- ```
60
-
61
- ``` bash
62
- curl --json ' {
63
- "type": "playlist",
64
- "url": "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr",
65
- "whisperModel": "tiny",
66
- "llm": "ollama"
67
- }' http://localhost:3000/process
68
- ```
69
-
70
- ### URLs Type
71
-
72
52
``` bash
73
53
curl --json ' {
74
- "type": "urls",
75
- "filePath": "content/example-urls.md"
76
- }' http://localhost:3000/process
77
- ```
78
-
79
- ``` bash
80
- curl --json ' {
81
- "type": "urls",
82
- "filePath": "content/example-urls.md",
83
- "whisperModel": "tiny",
84
- "llm": "ollama"
85
- }' http://localhost:3000/process
86
- ```
87
-
88
- ``` bash
89
- curl --json ' {
90
- "type": "urls",
91
- "filePath": "content/example-urls.md",
92
- "prompts": ["titles", "mediumChapters"],
54
+ "type": "video",
55
+ "url": "https://www.youtube.com/watch?v=MORMZXEaONk",
93
56
"whisperModel": "tiny",
94
- "llm": "ollama"
57
+ "llm": "ollama",
58
+ "llmModel": "DEEPSEEK_R1_1_5B"
95
59
}' http://localhost:3000/process
96
60
```
97
61
@@ -123,46 +87,6 @@ curl --json '{
123
87
}' http://localhost:3000/process
124
88
```
125
89
126
- ### RSS Type
127
-
128
- ``` bash
129
- curl --json ' {
130
- "type": "rss",
131
- "url": "https://feeds.transistor.fm/fsjam-podcast/"
132
- }' http://localhost:3000/process
133
- ```
134
-
135
- ``` bash
136
- curl --json ' {
137
- "type": "rss",
138
- "url": "https://feeds.transistor.fm/fsjam-podcast/",
139
- "whisperModel": "tiny",
140
- "llm": "ollama",
141
- "order": "newest",
142
- "skip": 0
143
- }' http://localhost:3000/process
144
- ```
145
-
146
- ``` bash
147
- curl --json ' {
148
- "type": "rss",
149
- "url": "https://feeds.transistor.fm/fsjam-podcast/",
150
- "order": "newest",
151
- "skip": 94,
152
- "whisperModel": "tiny"
153
- }' http://localhost:3000/process
154
- ```
155
-
156
- ``` bash
157
- curl --json ' {
158
- "type": "rss",
159
- "url": "https://feeds.transistor.fm/fsjam-podcast/",
160
- "order": "oldest",
161
- "skip": 94,
162
- "whisperModel": "tiny"
163
- }' http://localhost:3000/process
164
- ```
165
-
166
90
## Language Model (LLM) Options
167
91
168
92
### ChatGPT
@@ -357,81 +281,9 @@ curl --json '{
357
281
}' http://localhost:3000/process
358
282
```
359
283
360
- ``` bash
361
- curl --json ' {
362
- "type": "playlist",
363
- "url": "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr",
364
- "prompts": ["titles", "mediumChapters"],
365
- "whisperModel": "tiny",
366
- "llm": "ollama"
367
- }' http://localhost:3000/process
368
- ```
369
-
370
- ``` bash
371
- curl --json ' {
372
- "type": "playlist",
373
- "url": "https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr",
374
- "prompts": ["titles", "mediumChapters"],
375
- "whisperModel": "tiny",
376
- "llm": "ollama"
377
- }' http://localhost:3000/process
378
- ```
379
-
380
284
## Test Requests
381
285
382
286
``` js
383
- const TEST_REQ_01 = {
384
- " type" : " playlist" ,
385
- " url" : " https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr"
386
- }
387
-
388
- const TEST_REQ_02 = {
389
- " type" : " playlist" ,
390
- " url" : " https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" ,
391
- " whisperModel" : " tiny"
392
- }
393
-
394
- const TEST_REQ_03 = {
395
- " type" : " playlist" ,
396
- " url" : " https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" ,
397
- " whisperModel" : " tiny" ,
398
- " llm" : " ollama"
399
- }
400
-
401
- const TEST_REQ_04 = {
402
- " type" : " playlist" ,
403
- " url" : " https://www.youtube.com/playlist?list=PLCVnrVv4KhXPz0SoAVu8Rc1emAdGPbSbr" ,
404
- " prompts" : [" titles" , " mediumChapters" ],
405
- " whisperModel" : " tiny" ,
406
- " llm" : " ollama"
407
- }
408
-
409
- const TEST_REQ_05 = {
410
- " type" : " urls" ,
411
- " filePath" : " content/example-urls.md"
412
- }
413
-
414
- const TEST_REQ_06 = {
415
- " type" : " urls" ,
416
- " filePath" : " content/example-urls.md" ,
417
- " whisperModel" : " tiny"
418
- }
419
-
420
- const TEST_REQ_07 = {
421
- " type" : " urls" ,
422
- " filePath" : " content/example-urls.md" ,
423
- " whisperModel" : " tiny" ,
424
- " llm" : " ollama"
425
- }
426
-
427
- const TEST_REQ_08 = {
428
- " type" : " urls" ,
429
- " filePath" : " content/example-urls.md" ,
430
- " prompts" : [" titles" , " mediumChapters" ],
431
- " whisperModel" : " tiny" ,
432
- " llm" : " ollama"
433
- }
434
-
435
287
const TEST_REQ_09 = {
436
288
" type" : " file" ,
437
289
" filePath" : " content/audio.mp3"
@@ -458,40 +310,6 @@ const TEST_REQ_12 = {
458
310
" llm" : " ollama"
459
311
}
460
312
461
- const TEST_REQ_13 = {
462
- " type" : " rss" ,
463
- " url" : " https://feeds.transistor.fm/fsjam-podcast/"
464
- }
465
-
466
- const TEST_REQ_14 = {
467
- " type" : " rss" ,
468
- " url" : " https://feeds.transistor.fm/fsjam-podcast/" ,
469
- " whisperModel" : " tiny"
470
- }
471
-
472
- const TEST_REQ_15 = {
473
- " type" : " rss" ,
474
- " url" : " https://feeds.transistor.fm/fsjam-podcast/" ,
475
- " whisperModel" : " tiny" ,
476
- " llm" : " ollama"
477
- }
478
-
479
- const TEST_REQ_16 = {
480
- " type" : " rss" ,
481
- " url" : " https://feeds.transistor.fm/fsjam-podcast/" ,
482
- " whisperModel" : " tiny" ,
483
- " order" : " newest" ,
484
- " skip" : 94
485
- }
486
-
487
- const TEST_REQ_17 = {
488
- " type" : " rss" ,
489
- " url" : " https://feeds.transistor.fm/fsjam-podcast/" ,
490
- " whisperModel" : " tiny" ,
491
- " order" : " oldest" ,
492
- " skip" : 94
493
- }
494
-
495
313
const TEST_REQ_18 = {
496
314
" url" : " https://www.youtube.com/watch?v=MORMZXEaONk"
497
315
}
0 commit comments