Commit Graph

27 Commits

Author SHA1 Message Date
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
Mathieu Virbel
42f1442e56 server: introduce LLM backends 2023-08-01 14:23:34 +02:00
224afc6f28 fastapi: implement server with same back compatibility as before 2023-07-29 15:59:25 +02:00
3908c1ca53 processors: customize logger and auto describe 2023-07-29 01:32:37 +02:00
6f61863136 processors: implement Pipeline, simplify usage 2023-07-29 00:59:09 +02:00
Mathieu Virbel
509840cb4c processors: Introduce processors implementation
Each processor is standalone, with define INPUT/OUTPUT.
Processor can be threaded or not (can be extensible later)
TODO: Pipeline that automatically connect all processors, flush and clean data

To test: python -m reflector.processors tests/records/test_mathieu_hello.wav

```
Transcript: [00:00.500]:  Hi there, everyone.
Transcript: [00:02.700]:  Today, I want to share my incredible experience.
Transcript: [00:05.461]:  with Reflector, a cutineage product that revolutionizes audio processing.
Transcript: [00:10.922]:  With Refector, I can easily convert any audio into accurate transcription.
Transcript: [00:16.493]:  serving me hours of tedious manual work.
```

This is not a good transcript, but not the purpose here.
2023-07-28 20:08:33 +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
Mathieu Virbel
7bd3d54d15 server: fix lowercase settings 2023-07-27 15:36:52 +02:00
Mathieu Virbel
69ba871481 server: refactor to reflector module
- replaced loguru to structlog, to get ability of having open tracing later
- moved configuration to pydantic-settings
- merged both secrets.ini and config.ini to .env (check reflector/settings.py)
2023-07-27 15:31:58 +02:00