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
Jiefei Wang
1c5169019c
fix(doc): Updated instructions for finding JWT_SECRET_KEY ( #383 )
2023-06-28 09:47:28 +02:00
Stan Girard
9d07869b03
chore(analytics): added crawled url ( #389 )
2023-06-27 16:12:19 +02:00
Stan Girard
00d7ec131c
fix(vectorstore): removed userid
2023-06-27 11:44:23 +02:00
Mamadou DICKO
dc64470d5d
Ux improvment ( #382 )
...
* feat: make chat list hidden on mobile by default
* feat: autoclose chat list on click
* feat: move footer to chat lists bottom when user is logged in
* feat: fix header when user is logged in
* chore: refacto ChatMessages
* feat: reverse chat list display on fetch
* feat: fix new chat button
2023-06-27 11:28:09 +02:00
Stan Girard
56c761ed0e
fix(analytics): changed for user id
2023-06-26 22:11:10 +02:00
Stan Girard
30e764497d
perf(analytics): added usage analytics ( #381 )
2023-06-26 19:23:48 +02:00
Stan Girard
81a3d48fbc
fix(vectorstore): issues with userid ( #380 )
...
* fix(vectorstore): issues with userid
* perf(analytics): added tracking for file upload and chat (#376 )
* fix: conditionnaly update functions list (#379 )
---------
Co-authored-by: Mamadou DICKO <63923024+mamadoudicko@users.noreply.github.com>
2023-06-26 19:02:03 +02:00
Mamadou DICKO
e045a55ae7
fix: conditionnaly update functions list ( #379 )
2023-06-26 17:27:06 +02:00
Stan Girard
bdccdf1a0a
perf(analytics): added tracking for file upload and chat ( #376 )
2023-06-26 12:54:07 +02:00
Mamadou DICKO
97d2c9de10
[Analytics]: Add tracking ( #375 )
...
* feat: add june tracking config
* feat(tracking): add page view tracking
* feat(tracking): add event tracking
2023-06-26 11:36:15 +02:00
Stan Girard
5fc837b250
feat(brainpicking): simplified ( #371 )
...
* feat(functions): simplified
* refactor(openai): changed to brainpicking
* feat(functions): made them inherit from brainpicking
* feat(privatebrainpicking): added new class
* feat(history&context): added
* Delete test_brainpicking.py
* Delete __init__.py
2023-06-26 10:34:03 +02:00
Stan Girard
572fc7e1b0
fix(openai): skip if api key
2023-06-23 17:59:53 +02:00
Matt
d9b2be19d7
feat: start script ( #367 )
...
* feat: start script
* make faster
2023-06-23 14:20:03 +02:00
Mamadou DICKO
3922d8ca83
Feat/error handling ( #366 )
...
* feat: improve error handling
* docs: explain error handling system
2023-06-23 10:36:55 +02:00
Mamadou DICKO
59fe7b089b
feat(chat): use openai function for answer ( #354 )
...
* feat(chat): use openai function for answer (backend)
* feat(chat): use openai function for answer (frontend)
* chore: refacto BrainPicking
* feat: update chat creation logic
* feat: simplify chat system logic
* feat: set default method to gpt-3.5-turbo-0613
* feat: use user own openai key
* feat(chat): slightly improve prompts
* feat: add global error interceptor
* feat: remove unused endpoints
* docs: update chat system doc
* chore(linter): add unused import remove config
* feat: improve dx
* feat: improve OpenAiFunctionBasedAnswerGenerator prompt
2023-06-22 17:50:06 +02:00
Matt
83fde0aeea
feat: private llm ( #360 )
...
* feat: private llm
* Update backend/vectorstore/supabase.py
* Update backend/vectorstore/supabase.py
2023-06-22 09:45:35 +01:00
Stan Girard
3d11e3fb51
refactor(brain): removed braintoupdate and added brain ( #356 )
...
* refactor(brain): removed braintoupdate and added brain
* feat(brain): updated
2023-06-21 10:16:44 +02:00
Matt
3e753f2d56
feat: stream router ( #353 )
...
* wip: stream router
* feat: chatai streaming
* chore: add comments
* feat: streaming for chains
* chore: comments
2023-06-20 21:53:04 +02:00
Mamadou DICKO
90bd49527b
fix(upload) ( #355 )
2023-06-20 17:41:16 +02:00
Zineb El Bachiri
9c8e0aa0e4
Feat/multiple brains frontend ( #344 )
...
* 🗑️ remove date input from fetch_user_id_from_credentials
* ♻️ refactor backend utils by splitting it into files
* 💡 comments for next actions to update /upload
* 🚚 move SupabaseProvider tp libs
* 🚚 move useAxios to hooks
* ♻️ refacto brain routes
* 🚨 update lintermfor paths
* ✨ new brain context provider
* ✨ new brain component in navbar
* 🚨 fix linter and async
* 🇸🇪 add feature flag for multiple-brains
2023-06-20 16:17:13 +02:00
Stan Girard
bc0055e673
docs(privacy): added policy
2023-06-20 16:13:03 +02:00
Mamadou DICKO
132ac0ca46
chore: vscode-eslint ( #350 )
2023-06-20 11:24:19 +02:00
Stan Girard
5ebe6661dc
chore(linting): fixed for pyhon ( #346 )
2023-06-20 10:10:56 +02:00
Mamadou DICKO
e1a740472f
Feat: chat name edit ( #343 )
...
* feat(chat): add name update
* chore(linting): add flake8
* feat: add chat name edit
2023-06-20 09:54:23 +02:00
Stan Girard
8ed8a2c9ef
chore: 🤖 docs
...
added docs
2023-06-20 08:56:17 +02:00
Stan Girard
f64702d550
chore(streamlit): removed demo
2023-06-20 00:16:12 +02:00
Stan Girard
533446a2b4
chore(refacto): removed unused
2023-06-20 00:14:40 +02:00
Stan Girard
99258790ad
refactor(brainpicking): removed one function
2023-06-19 23:14:42 +02:00
Stan Girard
969e0b48a8
refactor(brains): into brainpicking
2023-06-19 22:55:42 +02:00
Stan Girard
c7fdbf6dec
feat(refacto): removed commons
2023-06-19 22:54:01 +02:00
Stan Girard
72a6ae3dc0
feat(settings): refactored
2023-06-19 22:46:25 +02:00
Stan Girard
b8ec6fd342
refactor(brainsettings): added moved files
2023-06-19 21:21:26 +02:00
Stan Girard
c222f57b22
refactor(settings): moved to own folder
2023-06-19 21:20:08 +02:00
Stan Girard
dc6f610b26
feat(neurons): added class
2023-06-19 21:15:35 +02:00
Stan Girard
d42f14f431
feat(brainpicking): new class
2023-06-19 20:51:13 +02:00
Stan Girard
17aaf18d61
feat(vectorstore): own folder
2023-06-19 20:15:34 +02:00
Stan Girard
954acf1286
fix(llm): changed to stuff
2023-06-19 17:53:07 +02:00
Stan Girard
1fbeeff326
docs(brain): improved
2023-06-19 11:58:03 +02:00