Commit Graph

850 Commits

Author SHA1 Message Date
Stan Girard
10d4d65c1e
perf(deps): removed (#873) 2023-08-07 10:06:58 +02:00
Stan Girard
6184dfadfe
Revert "feat: remove private prompts on related brain delete (#842)" (#870)
This reverts commit 4c15fe2bfd.
2023-08-07 09:16:43 +02:00
Mamadou DICKO
4c15fe2bfd
feat: remove private prompts on related brain delete (#842)
* feat: remove private prompts on brain deletion

* ui: improve personnality picker
2023-08-07 08:13:03 +02:00
renovate[bot]
3ebfc6868f
chore(deps): update dependency pypdf to v3.9.0 [security] (#861)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 00:55:43 +02:00
renovate[bot]
d49f0771a5
chore(deps): update dependency @vitejs/plugin-react to v4.0.4 (#862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 00:54:30 +02:00
renovate[bot]
d9fd777c82
Add renovate.json (#860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 00:45:00 +02:00
Stan Girard
642e345435 ci(stale): added workflow 2023-08-07 00:18:32 +02:00
Stan Girard
9dc483bb1e docs(readme): updated 2023-08-06 00:33:48 +02:00
Mamadou DICKO
b92d058fbe
test(backend): fix failing tests (#851) 2023-08-04 20:25:09 +02:00
Thomas Pucci
5496e9d738
fix: remove typo (#853) 2023-08-04 18:56:54 +02:00
Stan Girard
69e2c289e5
fix(pg-database): by default variable is not implemented (#848) 2023-08-04 10:17:26 +02:00
ChloeMouret
eaa574dd19
fix upload (#847) 2023-08-04 09:58:43 +02:00
ChloeMouret
711e9fb8c9
refactor: delete common_dependencies function (#843)
* use function for get_documents_vector_store

* use function for get_embeddings

* use function for get_supabase_client

* use function for get_supabase_db

* delete lasts common_dependencies
2023-08-03 20:24:42 +02:00
Mamadou DICKO
b3fb8fc3bc
feat: add public prompts picker (#841)
* fix: update prompt_id logic in payload

* feat: add getPublicPrompts to sdk

* feat: add public prompt picker
2023-08-03 17:00:05 +02:00
ChloeMouret
fdcdf581a8
refactor: clean backend, add typing, delete dead code (#835)
* type common dependencies

* delete unused code
2023-08-03 16:20:36 +02:00
Mamadou DICKO
99a3fa9b29
feat: add custom prompt fields on brain setting pages (#837)
* feat(sdk): add prompt apis to sdk

* feat: implement prompt creation-n

* feat: add brain custom prompt fields

* fix: change tables creation order
2023-08-03 15:41:24 +02:00
Stan Girard
a87cd113f7
chore(main): release 0.0.51 (#827) 2023-08-03 13:12:32 +02:00
Laurens Van Keer
659e585145
fix(chats): delete chats from correct table (#834) 2023-08-03 12:15:33 +02:00
Laurens Van Keer
68f03b2416
fix(chat routes): HTTPException import correction (#833)
* fix(chat routes): HTTPException import correction

Solves "TypeError: HTTPException() takes no keyword arguments"

* fix(chat routes): error in user id comparison in metadata endpoint

current_user.id is a UUID and must be converted to a string before comparison with the chat.user_id string
2023-08-03 12:11:25 +02:00
Mamadou DICKO
4ca6c667da
feat(backend): implement brain-prompt link (#831)
* feat: add prompt_id field to brain

* feat(Prompt controller): update prompt routes

* feat: remove unused private prompts

* refactor: add BrainEntity and repo and service

* tests: partially type main Repository

* feat: add PromptStatusEnum enum

* feat: change delete prompt repository return type
2023-08-03 10:37:13 +02:00
Mamadou DICKO
e3b6114248
feat(prompt): add prompt table, entity and repository (#823)
* feat: add prompts table

* feat: add Prompt entity

* feat: add prompt router

* refactor(promptRepository): use common reposority
2023-08-03 09:53:38 +02:00
Stan Girard
23f50ec3a3 fix(env): added pg database url default value to none 2023-08-02 11:40:33 +02:00
Stan Girard
c8df623cb7
chore(main): release 0.0.50 (#824) 2023-08-02 10:48:09 +02:00
Stan Girard
c21797905d
feat(prompt): added instructions in standalone question & a bit more things (#826)
* fix(backend): temperature signature

* feat(qa): fixed temperature question generator and added doc

* feat(prompt): added instructions to standalone question

* fix(brains-rights): fixed function missing
2023-08-02 10:31:42 +02:00
Noe
303ba72028
feat: Introduce repository pattern to prepare adding other database providers (#646)
* add sqlalchemy models

* add neon settings

* add insert brain

* abstract supabase from Brain class

* abstract supabase from Brain class

* abstract supabase from /models

* update Database to Repository

* update neon_tables to pg_tables

* update chat, api-key and message

* update vector class

* update settings

* update env vars for test

* Update backend-tests.yml

* fix test

* fix fetch_user_requests_count()

* fix fetch_user_requests_count()

* fix increment_user_request_count

* fix increment_user_request_count

* fix asset upload_response message

* fix pyright

* fix brain_subscription

* fix brain_subscription

* fix brain_subscription

* fix get user request stat

* update create_brain_user

* add delete brain vector and user

* add delete brain vector and user

* correctly call function

---------

Co-authored-by: Noé Pion <noe.pion@onfido.com>
Co-authored-by: raoufchebri <raouf@chebri.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-08-01 23:03:47 +02:00
Stan Girard
d6ebb00f86
chore(main): release 0.0.49 (#820) 2023-08-01 17:28:50 +02:00
Mamadou DICKO
d018ab6a93
feat: add chat config modal (#807)
* feat: add chat config modal

* feat: save chat config in localStorage

* feat: remove <ConfigPage/>

* feat: overwrite chat config with brain
2023-08-01 16:28:38 +02:00
Mamadou DICKO
edcbb30e97
fix: bugs (#818)
* feat: add chat config modal

* feat: save chat config in localStorage

* feat: remove <ConfigPage/>

* feat: overwrite chat config with brain

* fix(SettingsPage): upload payload keys

* fix: update default brain marker logic

* feat: set new created brain as current selected brain
2023-08-01 16:25:02 +02:00
Stan Girard
130a3e0938 docs(readme): local llm removal 2023-08-01 14:48:29 +02:00
Stan Girard
15ebef8297
chore(main): release 0.0.48 (#819) 2023-08-01 13:58:40 +02:00
Stan Girard
c01433c841 fix(openai): user key now used for llm model 2023-08-01 13:46:53 +02:00
Stan Girard
33481eb985
chore(main): release 0.0.47 (#806) 2023-08-01 10:36:06 +02:00
Mamadou DICKO
7532b558c7
feat: add user level open ai key management (#805)
* feat: add user user identity table

* feat: add user openai api key input

* feat: add encryption missing message

* chore: log more details about 422 errors

* docs(API): update api creation path

* feat: use user openai key if defined
2023-08-01 09:24:57 +02:00
Stan Girard
b72139af60 style(import): fixed 2023-08-01 01:14:16 +02:00
Stan Girard
3166d089ee
feat(chat): added streaming (#808)
* feat(tmp): added streaming

* feat(streaming): implemented by changing order
2023-07-31 21:34:34 +02:00
Stan Girard
db40f3cccd
feat(llm): removing all llms to prepare for genoss (#804)
* feat(routes): removed all except openai

* feat(deadcode): removed some deadcode and summarization feature that wasn't used

* feat(streaming): removed privateGPT from it

* chore(requirements): increased version
2023-07-31 16:01:34 +02:00
Stan Girard
1a499f494d
chore(main): release 0.0.46 (#791) 2023-07-31 10:42:58 +02:00
Stan Girard
df42cd9959 style: 💄 imports
fixed order
2023-07-31 09:18:18 +02:00
MiroStW
a609c01aa8
fix: udpate migration script doc (#793)
Co-authored-by: miro.wilms <miro.wilms@aoe.com>
2023-07-31 09:06:13 +02:00
Hans David Viloria
7513bea053
docs: Added fixed roadmap link as well (#733)
* Fix broken link to contributors 

Redirected to https://github.com/stangirard/quivr/graphs/contributors through a misspell

* Fix roadmap link

Just simply replacing the old roadmap link that redirects to brain.quivr.app and instead fully redirect it to the full roadmap link at https://brain.quivr.app/docs/roadmap :)
2023-07-31 09:04:42 +02:00
Ashish Baravaliya
3e8ed46317
fix: Toast message hidden under the footer (#761) 2023-07-31 09:03:19 +02:00
Corey Psoinos
87c5e582a2
fix(frontend): correctly display document information in explore view details (#781)
* stringify json values and render within pre tags so react can render them

* run prettier

* add tests for first document

* prettier

* return 'Not Available' instead of 'null' string

* don't render objects in document details; add tests

* remove newlines from imports
2023-07-31 09:02:54 +02:00
Stan Girard
56f254a050 feat(aws): increased size 2023-07-27 15:41:35 +02:00
Stan Girard
9809ef4119 feat(aws): increased numer of replicas to 10 2023-07-27 14:56:16 +02:00
Stan Girard
bada136312
chore(main): release 0.0.45 (#790) 2023-07-27 11:05:41 +02:00
Stan Girard
2fcff0beda
fix(release-please): use personal token to be able to trigger release (#789)
* ci(check-pr-title): made prettier

* fix(release-please): use personal token to be able to trigger release
2023-07-27 11:02:47 +02:00
github-actions[bot]
f5c14099d7
chore(main): release 0.0.44 (#787)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 10:51:34 +02:00
Stan Girard
b11b2d8658 feat(pr-title): added pr-title checlk 2023-07-27 10:45:58 +02:00
Stan Girard
16114b2c52 fix(release-please): fixed actions 2023-07-27 10:42:25 +02:00
github-actions[bot]
a9bff9e3f0
chore(main): release 0.0.43 (#776)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 10:23:00 +02:00