You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/services/ai_search_service.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ class AiSearchService {
24
24
asyncchapters(captions: string){
25
25
const{ data }=awaitthis.#api.post('',{
26
26
query: `Take the provided SRT subtitles and create as few as possible, high-level, timestamp chapters from them. Between 3 to 8 chapters. The chapters time should only consist of minutes and seconds unless the captions go over an hour. Response should only contain JavaScript parsable JSON in the structure: [{ start: 'mm:ss', end: 'mm:ss', text: 'chapter text' }]. Captions: ${captions}`,
0 commit comments