Commit Graph

48 Commits

Author SHA1 Message Date
14946921f3 server: add support for HEAD route on audio mp3 2023-11-10 14:41:21 +01:00
b9149d6e68 server: ensure retry works even with 303 redirection 2023-11-02 21:00:14 +01:00
eb76cd9bcd server/www: rename topic text field to transcript
This aleviate the current issue with vercel deployment
2023-11-02 19:59:56 +01:00
4da890b95f server: add dummy diarization and fixes instanciation 2023-11-02 17:39:21 +01:00
d8a842f099 server: full diarization processor implementation based on gokul app 2023-11-02 17:39:21 +01:00
07c4d080c2 server: refactor with diarization, logic works 2023-11-02 17:39:21 +01:00
f4cffc0e66 server: add tests on segmentation and fix issue with speaker 2023-11-02 17:39:21 +01:00
6d074ed457 www: update frontend to support new transcript format in topics 2023-11-02 17:39:21 +01:00
projects-g
1d92d43fe0 New summary (#283)
* handover final summary to Zephyr deployment

* fix display error

* push new summary feature

* fix failing test case

* Added markdown support for final summary

* update UI render issue

* retain sentence tokenizer call

---------

Co-authored-by: Koper <andreas@monadical.com>
2023-10-13 22:53:29 +05:30
4e40cc511a server: create fixture for starting the server, and always close server even if one test fail 2023-10-13 15:01:58 +02:00
Koper
149342f854 Fix unit tests 2023-10-13 10:42:52 +01:00
projects-g
6a43297309 Translation enhancements (#247) 2023-09-26 19:49:54 +05:30
Gokul Mohanarangan
0b00881ce4 update tests: LLM mock to return LLM TITLE for all cases 2023-09-25 10:22:41 +05:30
07204ee2db server: add missing mp3 2023-09-13 17:26:03 +02:00
2b9eef6131 server: use mp3 as default for audio storage
Closes #223
2023-09-13 17:26:03 +02:00
projects-g
9fe261406c Feature additions (#210)
* initial

* add LLM features

* update LLM logic

* update llm functions: change control flow

* add generation config

* update return types

* update processors and tests

* update rtc_offer

* revert new title processor change

* fix unit tests

* add comments and fix HTTP 500

* adjust prompt

* test with reflector app

* revert new event for final title

* update

* move onus onto processors

* move onus onto processors

* stash

* add provision for gen config

* dynamically pack the LLM input using context length

* tune final summary params

* update consolidated class structures

* update consolidated class structures

* update precommit

* add broadcast processors

* working baseline

* Organize LLMParams

* minor fixes

* minor fixes

* minor fixes

* fix unit tests

* fix unit tests

* fix unit tests

* update tests

* update tests

* edit pipeline response events

* update summary return types

* configure tests

* alembic db migration

* change LLM response flow

* edit main llm functions

* edit main llm functions

* change llm name and gen cf

* Update transcript_topic_detector.py

* PR review comments

* checkpoint before db event migration

* update DB migration of past events

* update DB migration of past events

* edit LLM classes

* Delete unwanted file

* remove List typing

* remove List typing

* update oobabooga API call

* topic enhancements

* update UI event handling

* move ensure_casing to llm base

* update tests

* update tests
2023-09-13 11:26:08 +05:30
a7f0cdd50e server: fixes tests 2023-08-31 14:48:12 +02:00
600f2ca370 server: add BroadcastProcessor tests 2023-08-31 14:48:12 +02:00
68dce235ec server: pass source and target language from api to pipeline 2023-08-29 11:16:23 +02:00
621ae7d681 server: update to set 256 points by default 2023-08-24 14:58:59 +02:00
c21d88b797 server: implement audio waveform download as json
Closes #136
2023-08-24 14:58:59 +02:00
4cbda1d0c6 server: allow transcript summary edition
Closes #161
2023-08-22 15:22:19 +02:00
466d3670a1 server: support Range HTTP header for audio download
Closes #178
2023-08-22 15:22:00 +02:00
2339be4172 server: add PUBLIC_MODE settings to allow listing for anonymous user 2023-08-18 12:45:59 +02:00
5c9adb2664 server: fixes tests 2023-08-18 10:23:15 +02:00
f26b6d4621 Merge branch 'main' into feat-user-auth-fief 2023-08-18 10:20:44 +02:00
Gokul Mohanarangan
b08724a191 correct schema typing from str to dict 2023-08-17 20:57:31 +05:30
Gokul Mohanarangan
a98a9853be PR review comments 2023-08-17 14:42:45 +05:30
Gokul Mohanarangan
17b850951a pull from main 2023-08-17 09:38:35 +05:30
Gokul Mohanarangan
eb13a7bd64 make schema optional argument 2023-08-17 09:23:14 +05:30
e12f9afe7b server: implement user authentication (none by default) 2023-08-16 17:24:05 +02:00
0b2fb6ee85 server: remove non-apified server 2023-08-16 09:53:39 +02:00
a809e5e734 server: implement wav/mp3 audio download
If set, will save audio transcription to disk.
MP3 conversion is on-request, but cached to disk as well only if it is successfull.

Closes #148
2023-08-16 09:34:26 +02:00
Mathieu Virbel
26e34aec2d server: ensure transcript status model is updated + tests 2023-08-09 11:23:28 +02:00
Mathieu Virbel
a9e0c9aa03 server: implement status update in model and websocket 2023-08-09 11:21:48 +02:00
Mathieu Virbel
7f807c8f5f server: implement FINAL_SUMMARY for websocket + update tests and fix flush 2023-08-08 19:32:20 +02:00
Mathieu Virbel
0272904363 Merge 2023-08-08 15:33:55 +02:00
7d40305737 Implement retry that automatically detect httpx and backoff (#119)
* server: implement retry that automatically detect httpx and backoff

Closes #118

* server: fix formatting
2023-08-08 14:03:36 +02:00
Mathieu Virbel
96f52c631a api: implement first server API + tests 2023-08-04 20:06:43 +02:00
Mathieu Virbel
20767fde3f server: start implementing new api 2023-08-04 18:17:02 +02:00
Mathieu Virbel
e55cfce930 server: fixes tests 2023-08-04 18:16:51 +02:00
d94e2911c3 Serverless GPU support on banana.dev (#106)
* serverless: implement banana backend for both audio and LLM

Related to monadical-sas/reflector-gpu-banana project

* serverless: got llm working on banana !

* tests: fixes

* serverless: fix dockerfile to use fastapi server + httpx
2023-08-04 10:24:11 +02:00
Mathieu Virbel
e4f2b785ca server: update process tools and tests 2023-08-01 20:16:54 +02:00
Mathieu Virbel
99c9ba3e6b tests: remove unused mock 2023-08-01 16:08:15 +02:00
Mathieu Virbel
1f8e4200fd tests: rework tests and fixes bugs along the way 2023-08-01 16:05:48 +02:00
Mathieu Virbel
833a206110 test: add missing wav 2023-07-27 18:30:49 +02:00
Mathieu Virbel
c7f2453090 server: formatting 2023-07-27 18:09:01 +02:00
Mathieu Virbel
fe85005e8e server: add basic rtc test with local audio and fake llm 2023-07-27 18:04:26 +02:00