Commit Graph

74 Commits

Author SHA1 Message Date
873cbb0a42 fix: user migration confusion with user_id (#401)
+ added tests
2024-09-03 22:07:36 +02:00
03561453c5 feat: Monadical SSO as replacement of Fief (#393)
* sso: first pass for integrating SSO

still have issue on refreshing
maybe customize the login page, or completely avoid it
make 100% to understand how session server/client are working
need to test with different configuration option (features flags and
requireLogin)

* sso: correctly handle refresh token, with pro-active refresh

Going on interceptors make extra calls to reflector when 401.
We need then to circle back with NextJS backend to update the jwt,
session, then retry the failed request.

I prefered to go pro-active, and ensure the session AND jwt are always
up to date.

A minute before the expiration, we'll try to refresh it. useEffect() of
NextJS cannot be asynchronous, so we cannot wait for the token to be
refreshed.

Every 20s, a minute before the expiration (so 3x in total max) we'll try
to renew. When the accessToken is renewed, the session is updated, and
dispatching up to the client, which updates the useApi().

Therefore, no component will left without a incorrect token.

* fixes: issue with missing key on react-select-search because the default value is undefined

* sso: fixes login/logout button, and avoid seeing the login with authentik page when clicking

* sso: ensure /transcripts/new is not behind protected page, and feature flags page are honored

* sso: fixes user sub->id

* fixes: remove old layout not used

* fixes: set default NEXT_PUBLIC_SITE_URL as localhost

* fixes: removing fief again due to merge with main

* sso: ensure session is always ready before doing any action

* sso: add migration from fief to jwt in server, only from transcripts list

* fixes: user tests

* fixes: compilation issues
2024-09-03 19:27:15 +02:00
9b36adedae Fix broken test 2024-07-19 12:30:01 +02:00
fa6467c5ae Merge pull request #375 from Monadical-SAS/restart-processing
Restart processing
2024-07-19 12:00:30 +02:00
68be967e66 Don't request permission for file upload 2024-07-18 15:18:36 +02:00
562f2c94f9 Restart processing 2024-07-18 11:34:42 +02:00
df5b735959 Chunked filed upload 2024-07-15 11:25:47 +02:00
42bdabbc1b Merge pull request #335 from Monadical-SAS/sara/UI-improvements
Sara/UI improvements & fix transcript deletion
2024-05-28 12:28:50 +02:00
projects-g
72b22d1005 Update all modal deployments and change seamless configuration due to changes in src repo (#353)
* update all modal deployments and change seamless configuration due to change in src repo

* add fixture
2024-04-16 21:12:24 +05:30
Sara
6fe61cd5e3 fix transcript delete 2024-01-13 18:27:12 +01:00
eba60b7de4 Merge branch 'main' into feat-api-speaker-reassignment 2023-12-15 11:14:19 +01:00
a15a63bc8d server: add reviewed field in transcript 2023-12-13 15:42:17 +01:00
6585002dfa tests/upload: use shorter audio 2023-12-13 12:09:56 +01:00
f7f67521fc server: try reconcile both tests webrtc and upload with celery worker 2023-12-13 11:25:46 +01:00
e5e1b70213 server: include endpoint to upload a audio/video file 2023-12-12 20:39:15 +01:00
37b11fdcb8 server: allow reassign speaker range using participant_id 2023-12-12 10:57:21 +01:00
d790308ec7 server: add an endpoint to merge speaker 2023-12-11 19:56:24 +01:00
07b29d42a7 server: add topic duration, and endpoint for getting words group per speaker on a topic 2023-12-11 19:46:05 +01:00
6f3d7df507 server: add API to reassign speakers, and get topics with words 2023-12-06 16:41:18 +01:00
7ac6d25217 server: add participant API
Also break out views into different files for easier reading
2023-11-30 19:13:37 +01:00
3ebb21923b server: enhance diarization algorithm 2023-11-29 20:34:43 +01:00
99b973f36f server: fix tests 2023-11-22 14:41:40 +01:00
5ffa931822 server: update backend tests results (rpc does not work with chords) 2023-11-22 14:41:40 +01:00
Sara
a846e38fbd fix waveform in pipeline 2023-11-17 13:38:32 +01:00
Sara
1fc261a669 try to move waveform to pipeline 2023-11-15 20:30:00 +01:00
e18a7c8d4e server: correctly save duration, when filewriter is finished 2023-11-11 01:00:09 +01:00
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