Commit Graph

4 Commits

Author SHA1 Message Date
Stan Girard
380cf82706
feat: quivr core 0.1 (#2970)
# Description


# Testing backend 

## Docker setup
1. Copy `.env.example` to `.env`. Some env variables were added :
EMBEDDING_DIM
2. Apply supabase migratrions : 
```sh
supabase stop
supabase db reset
supabase start
```
3. Start backend containers
```
make dev
```
## Local setup 
You can also run backend without docker.
1. Install [`rye`](https://rye.astral.sh/guide/installation/). Choose
the managed python version and set the version to 3.11
2. Run the following: 
```
cd quivr/backend
rye sync
```
3. Source `.venv` virtual env : `source .venv/bin/activate`
4. Run the backend, make sure you are running redis and supabase
API: 
```
LOG_LEVEL=debug uvicorn quivr_api.main:app --log-level debug --reload --host 0.0.0.0 --port 5050 --workers 1
```
Worker: 
```
LOG_LEVEL=debug celery -A quivr_worker.celery_worker worker -l info -E --concurrency 1
```
Notifier: 
```
LOG_LEVEL=debug python worker/quivr_worker/celery_monitor.py
```

---------

Co-authored-by: chloedia <chloedaems0@gmail.com>
Co-authored-by: aminediro <aminedirhoussi1@gmail.com>
Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
Co-authored-by: Chloé Daems <73901882+chloedia@users.noreply.github.com>
Co-authored-by: Zewed <dewez.antoine2@gmail.com>
2024-09-02 10:20:53 +02:00
Stan Girard
afe17a7163
chore(cleanup): cleaned up some unused files (#2858)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-07-13 09:53:30 -07:00
AmineDiro
2e75de4039
feat(backend): quivr-monorepo and quivr-core package (#2765)
# Description

closes #2722.

- Creates `quivr-monorepo` 
- Separates `quivr-core`
- Update dockerfiles and docker-compose

---------

Co-authored-by: aminediro <aminediro@github.com>
2024-06-27 03:51:01 -07:00
Nils Jacobsen
992c67a2b9
chore: add IDE extension for i18n handling (#1896)
> let me know what needs to be changed in order to merge this

# Description: DX upgrade with little i18n tool.
- I added a
[ide-extension](https://inlang.com/m/r7kp499g/app-inlang-ideExtension)
config to `quivr`. This enables developers and contributors to extract,
access and update translations in code using the existing json files
under the hood.

- **Opt-in:** With the config in place you can also use the [fink
editor](https://inlang.com/m/tdozzpar/app-inlang-editor) to update
product copy/translation with a no code UI. Here u see an example from
my fork: https://inlang.com/editor/github.com/NilsJacobsen/quivr

# What I added (opt-in)
- A config file -> `settings.json`
- Vscode recommendation so the contributors can use the extension

## Screenshots:
IDE-Extension:

![image](https://github.com/StanGirard/quivr/assets/58360188/6f1217fe-692e-4aa2-942b-458cabf3bc2b)

Editor:
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/58360188/aa62ca66-6d11-42c2-8dc3-30a97ed985de">
2023-12-14 16:00:22 +01:00