Commit Graph

1732 Commits

Author SHA1 Message Date
Stan Girard
17d4d49cd9
Docs/testing strategy (#465)
* docs(tests): testing strategies

* fix(migration): migration id to name
2023-07-03 11:40:19 +02:00
Stan Girard
6c6fa01411
docs(tests): testing strategies (#464) 2023-07-03 11:30:29 +02:00
Matt
b33fcc8bf7
feat: base class for llms (#462) 2023-07-03 11:16:36 +02:00
Stan Girard
76156fdad3 feat: 🎸 migration
added migration script
2023-07-03 11:11:29 +02:00
Stan Girard
4667dada0b docs: ✏️ script
init and run
2023-07-03 10:04:01 +02:00
Stan Girard
3e68000983 docs(demo): updated demo video 2023-07-02 22:30:39 +02:00
Stan Girard
a6aecea76c
chore(telemetry): added for DELETE_BRAIN (#457) 2023-07-02 18:59:15 +02:00
Ziyad El Abid
8bb8c21e04
Feat/Add unit tests to RecoverPassword component (#445)
* test(RecoverPassword): add unit tests

* Returning a promise instead of using await (lint error) + fix build issues

* Test if updateUserMock was called in case of update failure
2023-07-02 18:56:12 +02:00
Aditya Nandan
ca0591d31c
feat(brain): add a delete button (#456) 2023-07-02 18:48:32 +02:00
Stan Girard
ce18e033c1
ci(test): added test on endpoints (#454) 2023-07-02 15:37:23 +02:00
Stan Girard
572191777b ci(actions): filtered so it triggers only when files change 2023-07-02 14:37:15 +02:00
Stan Girard
f9b3eba973 feat(sentry): added only if env variable set 2023-07-02 14:32:16 +02:00
Aditya Nandan
315411facd
remove blank scrollbars and use predefined components (#452)
* style(chat and brains dropdown): remove blank scrollbars and use predefined components

* style(chat): use custom scrollbar style by using scrollbar class
2023-07-02 14:30:11 +02:00
Stan Girard
b444761622 fix(sentry): added fix 2023-07-02 10:54:36 +02:00
Stan Girard
3918ad3015 fix(sentry): removed from variables 2023-07-02 10:26:16 +02:00
Stan Girard
9cc37cf365 ci(vitest): removed build 2023-07-02 02:24:31 +02:00
Stan Girard
e076bbe79f
Feat/testing backend (#446)
* feat(pytest): added

* feat(brains): added tests

* feat(actions): pytest
2023-07-02 02:19:30 +02:00
Stan Girard
bab76ba7e5
fix(apikey): fixed with bad casting (#444) 2023-07-01 23:30:14 +02:00
Stan Girard
fbd1e17018
feat(sentry): added sentry (#443) 2023-07-01 21:12:13 +02:00
Stan Girard
bf601672cc docs(sponsors): bam 2023-07-01 18:52:01 +02:00
Stan Girard
903fa1ed78 docs(sponsors): padding 2023-07-01 18:50:02 +02:00
Stan Girard
3df2613caf docs(sponsors): padding 2023-07-01 18:47:05 +02:00
Stan Girard
b73493067b docs(readme): updated images 2023-07-01 18:42:57 +02:00
Stan Girard
2468a6da1d chore(brain): adding button event 2023-07-01 18:40:43 +02:00
Stan Girard
b76262c4f0
Fix a bunch of issues (#442)
* fix(tokens): overflow

* fix(chat): fixed deletion error of the chat

#441

* fix(default-brain): autoset default brain when on upload page

* fix(promptengineering): changed prompt a bit

* feat(growthbook): removed

* docs(readme): updated
2023-07-01 17:22:28 +02:00
Stan Girard
1e47024d17 fix(streaming): added 2023-06-30 17:32:12 +02:00
Stan Girard
ddab4a7c6c fix(streaming): removing not working 2023-06-30 17:27:34 +02:00
Mamadou DICKO
1ac9d8a0e9
Add tests to frontend/(auth)/logout (#439)
* chore: refactor <Logout/>

* test(useLogout): add unit tests
2023-06-30 13:17:38 +02:00
Zineb El Bachiri
81321ea615
🚑 fix on fetch user & csv upload (#438)
* 🚑 fix on fetch user

* 🚑 fix imports for csv
2023-06-30 12:15:50 +02:00
Zineb El Bachiri
a13219c73f
🚑 quick fix for brain temporary redirect (#427) 2023-06-30 10:57:17 +02:00
Mamadou DICKO
e8b374e8a4
Frontend tests (#426)
* test(useGoogleLogin): add unit tests

* test(useMagicLinkLogin): add unit tests

* test(usePassword): add unit tests

* test(useLogin): add unit tests

* test(Login): add unit tests
2023-06-30 10:29:15 +02:00
Matt
6f047f4a39
feat: streaming for standard brain picking (#385)
* feat: streaming for standard brain picking

* fix(bug): private llm

* wip: test

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>

* wip: almost good

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>

* feat: useFetch

* chore: remove 💀

* chore: fix linting

* fix: forward the request if not streaming

* feat: streaming for standard brain picking

* fix(bug): private llm

* wip: test

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>

* wip: almost good

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>

* feat: useFetch

* chore: remove 💀

* chore: fix linting

* fix: forward the request if not streaming

* fix: 💀 code

* fix: check_user_limit

* feat: brain_id to new chat stream

* fix: missing imports

* feat: message_id created on backend

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>

* chore: remove dead

* remove: cpython

* remove: dead

---------

Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
2023-06-30 10:10:59 +02:00
Zineb El Bachiri
056a68d5ed
Fix/prod (#425)
* 🐛 update db tables script

* ✏️ fix users routes

* 🐛 add '/' AGAIN in URLs
2023-06-30 10:09:50 +02:00
Stan Girard
974bb9826d docs(stars): history chart is back 2023-06-30 09:40:21 +02:00
Zineb El Bachiri
b016413099
✏️ add / in all explore url (#415)
* ✏️ add / in all explore url

* 🐛 fix user routes

* ⚰️ remove dead code

*  add name to active brain
2023-06-30 09:08:40 +02:00
Zineb El Bachiri
4d9bd512ec
Fix/file upload explore (#412) 2023-06-29 18:26:03 +02:00
Ikko Eltociear Ashimine
ed61880a38
refactor: fix typo in useChats.ts (#393)
occured -> occurred
2023-06-29 16:48:29 +02:00
Stan Girard
1515a57d74
ci(vitest): added (#409) 2023-06-29 13:31:19 +02:00
Mamadou DICKO
cd78594590
Config frontend tests (#408)
* test: configure vitest and RTL

* test: add test boilerplates

* feat(ci): added test-unit frontend

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-29 13:18:30 +02:00
Stan Girard
82ac2ce3c0 fix(vercel): env dev 2023-06-29 10:59:55 +02:00
Stan Girard
108ab1636b fix(vercel): env dev 2023-06-29 10:32:43 +02:00
Stan Girard
6e1b961b9e fix(vercel): env dev 2023-06-29 10:30:33 +02:00
Stan Girard
40eae5adf3 fix(vercel): added good environment 2023-06-29 10:07:37 +02:00
Stan Girard
2b835a1ee5 fix(ecs): preview env name 2023-06-29 09:56:42 +02:00
Stan Girard
4ce080b785
Feat/preview env (#399)
* feat(preview): added

* feat(vercel): preview env
2023-06-29 09:55:06 +02:00
Stan Girard
3946dbc668 fix(crawler): route 2023-06-29 08:00:34 +02:00
Stan Girard
8978c8ab37 fix(path): made sure the frontend called with a / at the end 2023-06-29 07:33:19 +02:00
Zineb El Bachiri
ccdc5bb7a7
Feat/multiple brains files (#361) 2023-06-28 19:39:27 +02:00
Mamadou DICKO
e79da8e3cd
feat(auth): add password recovery (#394) 2023-06-28 14:35:18 +02:00
Michael Tan
0888bc5da2
(fix) temporary audio file not removed. (#377)
* (fix) temporary audio file not removed.

In audio.py file:
texts = text_splitter.split_text(transcript)

Threw an exception.
TypeError: expected string or bytes-like object, got 'OpenAIObject'

This causes the temporary file to persist.

Signed-off-by: Michael Tan <tan.michael@mac.com>

* Additionally fix the reason why text splitting threw the exception.

Default response format is JSON.

Signed-off-by: Michael Tan <tan.michael@mac.com>

---------

Signed-off-by: Michael Tan <tan.michael@mac.com>
2023-06-28 09:47:59 +02:00