Commit Graph

59 Commits

Author SHA1 Message Date
2a3ad5657f server: add /v1/me to get current user information
sub, email and email_verified
2023-08-18 12:02:16 +02:00
f26b6d4621 Merge branch 'main' into feat-user-auth-fief 2023-08-18 10:20:44 +02:00
7809b60011 server: remove print() statements 2023-08-18 10:08:27 +02:00
Gokul Mohanarangan
2d686da15c pass schema as dict 2023-08-17 21:51:44 +05:30
Gokul Mohanarangan
9332870e83 Merge branch 'main' of github.com:Monadical-SAS/reflector into modal 2023-08-17 20:57:58 +05:30
Gokul Mohanarangan
b08724a191 correct schema typing from str to dict 2023-08-17 20:57:31 +05:30
Koper
0e5bc7e997 Merge branch 'main' into feat-user-auth-fief 2023-08-17 22:20:16 +07:00
b43bd00fc0 server: fixes wav not saved correctly and mp3 generation invalid if started from /tmp from another device 2023-08-17 16:49:22 +02:00
4e9940fe29 server: fixes tests 2023-08-17 14:46:48 +02:00
Gokul Mohanarangan
a98a9853be PR review comments 2023-08-17 14:42:45 +05:30
Gokul Mohanarangan
235ee73f46 update prompt 2023-08-17 09:59:16 +05:30
Gokul Mohanarangan
17b850951a pull from main 2023-08-17 09:38:35 +05:30
Gokul Mohanarangan
a24c3afe5b cleanup 2023-08-17 09:35:49 +05:30
Gokul Mohanarangan
eb13a7bd64 make schema optional argument 2023-08-17 09:23:14 +05:30
Gokul Mohanarangan
5f79e04642 make schema optional for all LLMs 2023-08-16 22:37:20 +05:30
e12f9afe7b server: implement user authentication (none by default) 2023-08-16 17:24:05 +02:00
33ab54a626 server: replace wave module with pyav directly
Closes #87
2023-08-16 11:10:33 +02:00
Gokul Mohanarangan
976c0ab9a8 update prompt 2023-08-16 14:07:29 +05:30
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
044f40eb32 server: fixes for tests 2023-08-15 17:40:26 +02:00
857505124f server: implement data persistence with database
Using databases + sqlite/postgresql depending of what you want.
Use DATABASE_URL to configure

Closes #70
2023-08-15 17:40:26 +02:00
a21a726eb1 server: prevent storing audio for transcription unless wanted
Closes #145
2023-08-15 14:11:57 +02:00
Mathieu Virbel
93acea4ad9 server: add env.example
Closes #95
2023-08-15 09:13:17 +02:00
Mathieu Virbel
01806ce037 server: remove warmup, increase LLM timeout for now 2023-08-11 19:56:39 +02:00
Mathieu Virbel
82ce8202bd server: improve llm warmup exception handling
If LLM is stuck to warm or an exception happen in the pipeline, then the processor responsible for the exception fail, and there is no fallback. So audio continue to arrive, but no processing happen.While this should be done right especially after disconnection, still, we should ignore llm warmup issue and just go.

Closes #140
2023-08-11 19:33:07 +02:00
Mathieu Virbel
802f2c248e server: remove print 2023-08-11 16:18:39 +02:00
Mathieu Virbel
a06056f9bc server: fixes initial timeout for llm warmup 2023-08-11 15:45:28 +02:00
Mathieu Virbel
38a5ee0da2 server: implement warmup event for llm and transcription 2023-08-11 15:32:41 +02:00
Mathieu Virbel
a2518df3bd server: fixes websocket preventing server to stop 2023-08-11 15:18:13 +02:00
Mathieu Virbel
445d3c1221 server: implement modal backend for llm and transcription 2023-08-11 12:43:09 +02:00
Mathieu Virbel
f8fc83c943 server/www: simplify operationId in openapi and update www 2023-08-10 14:52:35 +02:00
Mathieu Virbel
92366f2662 server: fix websocket 2023-08-09 14:37:39 +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
dce92e0cf7 server: fixes pipeline logger not transmitted to processors
Closes #110
2023-08-04 12:02:18 +02:00
Mathieu Virbel
6d2085ce61 server: update topic detection minimum length required 2023-08-04 11:53:56 +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
4d4292e1b5 server: add sentry to server (#93)
Closes #91
2023-08-02 11:28:18 +02:00
Mathieu Virbel
e4f2b785ca server: update process tools and tests 2023-08-01 20:16:54 +02:00
Mathieu Virbel
cb198927b0 server: add default uvicorn server + update readme 2023-08-01 20:13:16 +02:00
Mathieu Virbel
74d2974ed2 server: fixes latest implementation details on rtc offer and fastapi 2023-08-01 20:09:05 +02:00
Mathieu Virbel
d320558cc9 server/rtc: fix topic output 2023-08-01 19:12:51 +02:00
Mathieu Virbel
1f8e4200fd tests: rework tests and fixes bugs along the way 2023-08-01 16:05:48 +02:00
Mathieu Virbel
bc55cfdea3 processors: split processors into their own files 2023-08-01 14:24:01 +02:00