Commit Graph

2029 Commits

Author SHA1 Message Date
Stan Girard
2f8bcdcdd5
feat(integrations): Add integration fields to Knowledge and SyncsUser models (#2853)
This pull request adds integration fields to the Knowledge and SyncsUser
models. The integration fields include `integration` and
`integration_link`. These fields allow for better integration with
external systems and provide additional information about the
integration.

---------

Co-authored-by: chloedia <chloedaems0@gmail.com>
Co-authored-by: Stan Girard <stan@quivr.app>
Co-authored-by: AmineDiro <aminedirhoussi1@gmail.com>
2024-07-15 10:04:57 -07:00
Stan Girard
c643157b75
feat: Update crawl_endpoint to include knowledge_id in task kwargs (#2867)
# 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):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-07-15 08:31:46 -07:00
Stan Girard
9cb7bd97d8
feat: Update category for sync notification (#2866)
The code changes in `sync_routes.py` update the category for the sync
notification from "sync" to "generic". This change ensures that the
notification is categorized correctly.

# 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):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-07-15 07:58:22 -07:00
AmineDiro
a90a01ccf2
feat: quivr api send notification (#2865)
# Description

- Quivr notification service. listens to celery events and updates
knowledge status.
- Process file notification will wait for retried tasks
2024-07-15 06:37:42 -07:00
Stan Girard
c8dd70affc
feat(celery): add retry logic for dcos (#2862)
# 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):

---------

Co-authored-by: Stan Girard <stan@quivr.app>
2024-07-15 03:32:00 -07:00
Stan Girard
37793d549a
feat: Improve file loading logic in File model (#2861)
The code changes in `files.py` improve the file loading logic in the
File model. The `load()` method now returns the loaded content, which is
then assigned to the `documents` variable. Additionally, the logger now
includes information about the loaded documents.

# 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):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-07-15 03:10:14 -07: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
Stan Girard
5f45e11b6a
chore(main): release 0.0.283 (#2851)
🤖 I have created a release *beep* *boop*
---


## 0.0.283 (2024-07-12)

## What's Changed
* feat: Add bulk_id field to CreateNotification and Notification models
by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2850
* feat: Add bulk_id field to CreateNotification and Notification models
by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2854
* fix: quiv core stream duplicate and quivr-core rag tests by @AmineDiro
in https://github.com/QuivrHQ/quivr/pull/2852
* feat: Add category and brain_id fields to CreateNotification and
Notification models by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2856
* feat: Update file loading logic in File model by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2857


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.282...v0.0.283

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-12 08:57:47 -07:00
Stan Girard
131a1f3e39 chore: trigger preview 2024-07-12 17:46:02 +02:00
Stan Girard
77e1cfb77f
feat: Update file loading logic in File model (#2857) 2024-07-12 16:50:27 +02:00
Stan Girard
5cc1ae5423
feat: Add category and brain_id fields to CreateNotification and Notification models (#2856)
# 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-12 06:56:55 -07:00
AmineDiro
35eb07f7a2
fix: quiv core stream duplicate and quivr-core rag tests (#2852)
# Description

`quivr-core`
- Generate a fixture to simulate a model with function calling
- Monkey patch `QuivrQARAG` stream 
-  Tests function

`quivr-api`
- Fixes empty API responses 
- Fixes non function calling models

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-07-12 06:07:39 -07:00
Stan Girard
86676c3f39
feat: Add bulk_id field to CreateNotification and Notification models (#2854)
# 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-12 06:04:39 -07:00
Stan Girard
064557f480
feat: Add bulk_id field to CreateNotification and Notification models (#2850)
This pull request adds a new field called `bulk_id` to the
`CreateNotification` and `Notification` models. The `bulk_id` field is
an optional UUID that can be used for bulk operations.
2024-07-12 01:51:27 -07:00
Stan Girard
38b01b1b74
chore(main): release 0.0.282 (#2840)
🤖 I have created a release *beep* *boop*
---


## 0.0.282 (2024-07-11)

## What's Changed
* chore: Update quivr-core and chainlit versions in requirements.txt by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2839
* chore(config): migrate renovate config by @renovate in
https://github.com/QuivrHQ/quivr/pull/2838
* fix: fixes duplicate response bug by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2843
* fix(frontend): remove possibilities to create brain if max amount by
@Zewed in https://github.com/QuivrHQ/quivr/pull/2847
* fix(frontend): general before connections by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2848
* fix(backend): thumbs button were broken by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2849


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.281...v0.0.282

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-11 09:11:42 -07:00
Antoine Dewez
2d2ccc382e
fix(backend): thumbs button were broken (#2849)
# 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):

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-07-11 16:29:48 +02:00
Antoine Dewez
805b0fa96f
fix(frontend): general before connections (#2848)
# 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-11 15:43:03 +02:00
Antoine Dewez
29cdbca8a8
fix(frontend): remove possibilities to create brain if max amount (#2847)
# 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-11 15:37:24 +02:00
AmineDiro
23ea00726a
fix: fixes duplicate response bug (#2843)
# Description

closes #2794.

Fixes duplicate responses in stream
2024-07-11 06:09:43 -07:00
renovate[bot]
4b0d0f8144
chore(config): migrate renovate config (#2838)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

The Renovate config in this repository needs migrating. Typically this
is because one or more configuration options you are using have been
renamed.

You don't need to merge this PR right away, because Renovate will
continue to migrate these fields internally each time it runs. But later
some of these fields may be fully deprecated and the migrations removed.
So it's a good idea to merge this migration PR soon.





🔕 **Ignore**: Close this PR and you won't be reminded about config
migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate
to [request help
here](https://togithub.com/renovatebot/renovate/discussions).


---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/QuivrHQ/quivr).

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 01:33:50 -07:00
Stan Girard
be84ecf89e
chore: Update quivr-core and chainlit versions in requirements.txt (#2839)
This pull request updates the versions of quivr-core and chainlit in the
requirements.txt file. The quivr-core version is changed from 0.0.8 to
0.0.8[base], and the chainlit version is changed from 1.1.306 to
1.1.306.
2024-07-11 01:33:33 -07:00
Stan Girard
a09e3c5c1b
chore(main): release 0.0.281 (#2825)
🤖 I have created a release *beep* *boop*
---


## 0.0.281 (2024-07-11)

## What's Changed
* feat: quivr core minimal chat by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2803
* chore: Add release-please-core workflow and configuration files by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2809
* chore(main): release core 0.0.2 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2812
* chore(main): release core 0.0.2 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2813
* chore(main): release core 0.0.2 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2814
* chore(main): release core 0.0.2 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2815
* fix(pyproject): fixed to quivr github by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2816
* chore(main): release core 0.0.3 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2817
* feat: quivr core minimal chat by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2818
* chore(main): release core 0.0.4 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2819
* feat: Add GitHub Actions workflow for running tests on backend/core by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2820
* feat: Add GitHub Actions workflow for running tests on backend/core by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2822
* feat(precommit): Update pre-commit hooks to latest versions by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2823
* feat: quivr core chat history by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2824
* chore(main): release core 0.0.5 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2821
* feat(frontend): UI / UX Notifications by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2826
* feat: quivr-core ask streaming by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2828
* chore(main): release core 0.0.6 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2829
* fix: llm model name by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2830
* chore(main): release core 0.0.7 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2831
* feat: Add Quivr chatbot example by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2827
* feat(renovate): updated configuration by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2835
* feat: Update aiofiles dependency to loosen version control by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2834
* chore(main): release core 0.0.8 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2832
* chore: Update quivr-core and chainlit versions in requirements.txt by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2836


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.280...v0.0.281

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-11 01:19:03 -07:00
Stan Girard
c86074942a
chore: Update quivr-core and chainlit versions in requirements.txt (#2836) 2024-07-11 01:16:32 -07:00
Stan Girard
d9338347f7
chore(main): release core 0.0.8 (#2832)
🤖 I have created a release *beep* *boop*
---


##
[0.0.8](https://github.com/QuivrHQ/quivr/compare/core-0.0.7...core-0.0.8)
(2024-07-11)


### Features

* Add Quivr chatbot example
([#2827](https://github.com/QuivrHQ/quivr/issues/2827))
([5ff8d4e](5ff8d4ee81))
* Update aiofiles dependency to loosen version control
([#2834](https://github.com/QuivrHQ/quivr/issues/2834))
([5e75d15](5e75d15597))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-11 01:06:42 -07:00
Stan Girard
5e75d15597
feat: Update aiofiles dependency to loosen version control (#2834)
This pull request updates the aiofiles dependency version to loosen the
version control.
2024-07-11 01:05:17 -07:00
Stan Girard
6beeb57166
feat(renovate): updated configuration (#2835)
# 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-11 01:01:34 -07:00
Stan Girard
5ff8d4ee81
feat: Add Quivr chatbot example (#2827)
The commit adds a new Quivr chatbot example to the repository. The
example demonstrates how to create a simple chatbot using Quivr and
Chainlit. Users can upload a text file and ask questions about its
content. The commit includes the necessary files, installation
instructions, and usage guidelines.
2024-07-10 12:42:49 -07:00
Stan Girard
7b8db6b9ec
chore(main): release core 0.0.7 (#2831)
🤖 I have created a release *beep* *boop*
---


##
[0.0.7](https://github.com/QuivrHQ/quivr/compare/core-0.0.6...core-0.0.7)
(2024-07-10)


### Bug Fixes

* llm model name ([#2830](https://github.com/QuivrHQ/quivr/issues/2830))
([71d6cd9](71d6cd9b6b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-10 09:34:49 -07:00
AmineDiro
71d6cd9b6b
fix: llm model name (#2830)
# Description

llm endpoint model name wasn't taken into account
2024-07-10 09:34:06 -07:00
Stan Girard
cc4bea7654
chore(main): release core 0.0.6 (#2829)
🤖 I have created a release *beep* *boop*
---


##
[0.0.6](https://github.com/QuivrHQ/quivr/compare/core-0.0.5...core-0.0.6)
(2024-07-10)


### Features

* quivr-core ask streaming
([#2828](https://github.com/QuivrHQ/quivr/issues/2828))
([0658d49](0658d4947c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-10 08:53:07 -07:00
AmineDiro
0658d4947c
feat: quivr-core ask streaming (#2828)
# Description

Added streaming response to quivr-core brain + tests.
2024-07-10 08:52:07 -07:00
Antoine Dewez
6056450bd6
feat(frontend): UI / UX Notifications (#2826)
# 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-10 17:13:47 +02:00
Stan Girard
f496e013d3
chore(main): release core 0.0.5 (#2821)
🤖 I have created a release *beep* *boop*
---


##
[0.0.5](https://github.com/QuivrHQ/quivr/compare/core-0.0.4...core-0.0.5)
(2024-07-10)


### Features

* Add GitHub Actions workflow for running tests on backend/core
([#2820](https://github.com/QuivrHQ/quivr/issues/2820))
([82292f3](82292f30ac))
* Add GitHub Actions workflow for running tests on backend/core
([#2822](https://github.com/QuivrHQ/quivr/issues/2822))
([1566040](15660409a3))
* quivr core chat history
([#2824](https://github.com/QuivrHQ/quivr/issues/2824))
([847e161](847e161d80))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-10 06:29:24 -07:00
AmineDiro
847e161d80
feat: quivr core chat history (#2824)
# Description

- Defined quivr-core `ChatHistory`
- `ChatHistory` can be iterated over in tuples of
`HumanMessage,AIMessage`
-  Brain appends to the chatHistory once response is received
- Brain holds a dict of chats and defines the default chat (TODO: define
a system of selecting the chats)
- Wrote test 
- Updated `QuivrQARAG` to use `ChatHistory` as input
2024-07-10 06:22:59 -07:00
Stan Girard
442186c674
feat(precommit): Update pre-commit hooks to latest versions (#2823)
This pull request updates the pre-commit hooks in the
`.pre-commit-config.yaml` file to the latest versions. By doing so, we
ensure that our codebase benefits from the latest bug fixes and
improvements provided by the pre-commit community.
2024-07-09 10:33:45 -07:00
Stan Girard
34e47a0af2 feat: Add OPENAI_API_KEY to backend-core-tests.yml
The `backend-core-tests.yml` GitHub Actions workflow file has been updated to include the `OPENAI_API_KEY` environment variable with a test key. This change allows the tests to access the OpenAI API using the specified key.
2024-07-09 18:48:07 +02:00
Stan Girard
a4b657768c Update health check command in backend-core-tests.yml 2024-07-09 18:45:32 +02:00
Stan Girard
05d7dff91b feat: Update health check command in backend-core-tests.yml
The health check command in the `backend-core-tests.yml` GitHub Actions workflow file has been updated to include a `--max-time` option with a value of 5 seconds. This change ensures that the health check fails if the Tika server does not respond within the specified time limit.
2024-07-09 18:43:32 +02:00
Stan Girard
15660409a3
feat: Add GitHub Actions workflow for running tests on backend/core (#2822)
# 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-09 09:39:01 -07:00
Stan Girard
82292f30ac
feat: Add GitHub Actions workflow for running tests on backend/core (#2820)
This commit adds a new GitHub Actions workflow file
`backend-core-tests.yml` to the repository. This workflow is triggered
on push and pull request events, specifically for changes made to the
`backend/core` directory. The workflow runs tests for the backend/core
module using a Tika server as a service. It checks the health of the
Tika server before running the tests. The workflow sets up Python,
installs dependencies using Poetry, and runs the tests using pytest.

This commit is necessary to automate the testing process for the
backend/core module and ensure that the tests are run consistently and
reliably.

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
2024-07-09 09:28:27 -07:00
Stan Girard
03aa9e4521
chore(main): release core 0.0.4 (#2819)
🤖 I have created a release *beep* *boop*
---


##
[0.0.4](https://github.com/QuivrHQ/quivr/compare/core-0.0.3...core-0.0.4)
(2024-07-09)


### Features

* quivr core minimal chat
([#2818](https://github.com/QuivrHQ/quivr/issues/2818))
([481f24f](481f24f5be))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-09 18:12:33 +02:00
AmineDiro
481f24f5be
feat: quivr core minimal chat (#2818)
# Description
- Introduce `LLMEndpoint` class: wrapper around a `BaseChatLLM` to load
OpenAI compatible models
- Add `brain.search(...)` function to retrieve
- Test with test-coverage: 
- Added ability to load brain `from langchain.Document`
- Configured mypy and poetry lock in `.pre-commit.yaml`

# Test coverage

![image](https://github.com/QuivrHQ/quivr/assets/14312141/629ede66-146e-400f-b40b-8c22a9258a47)

---------

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
2024-07-09 17:55:14 +02:00
Stan Girard
f77c8e65a3
chore(main): release core 0.0.3 (#2817)
🤖 I have created a release *beep* *boop*
---


##
[0.0.3](https://github.com/QuivrHQ/quivr/compare/core-0.0.2...core-0.0.3)
(2024-07-09)


### Bug Fixes

* **pyproject:** fixed to quivr github
([#2816](https://github.com/QuivrHQ/quivr/issues/2816))
([5a4ac00](5a4ac001d0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-09 07:57:16 -07:00
Stan Girard
5a4ac001d0
fix(pyproject): fixed to quivr github (#2816)
This pull request updates the repository URL in the pyproject.toml file
from "https://github.com/langchain-ai/langchain" to
"https://github.com/QuivrHQ/quivr".
2024-07-09 07:56:05 -07:00
Stan Girard
e047fec673
chore(main): release core 0.0.2 (#2815)
🤖 I have created a release *beep* *boop*
---


##
[0.0.2](https://github.com/QuivrHQ/quivr/compare/core-v0.0.1...core-0.0.2)
(2024-07-09)


### Features

* **backend:** quivr-monorepo and quivr-core package
([#2765](https://github.com/QuivrHQ/quivr/issues/2765))
([2e75de4](2e75de4039))
* quivr core minimal chat
([#2803](https://github.com/QuivrHQ/quivr/issues/2803))
([1dc6d88](1dc6d88f9b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-09 07:49:44 -07:00
Stan Girard
2e995a6ae9 chore: Update backend/core version to 0.0.1 in release-please-manifest.json 2024-07-09 16:48:12 +02:00
Stan Girard
11e8556d1c
chore(main): release core 0.0.2 (#2814)
🤖 I have created a release *beep* *boop*
---


##
[0.0.2](https://github.com/QuivrHQ/quivr/compare/core-v0.0.1...core-0.0.2)
(2024-07-09)


### Features

* **backend:** quivr-monorepo and quivr-core package
([#2765](https://github.com/QuivrHQ/quivr/issues/2765))
([2e75de4](2e75de4039))
* quivr core minimal chat
([#2803](https://github.com/QuivrHQ/quivr/issues/2803))
([1dc6d88](1dc6d88f9b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-09 07:43:18 -07:00
Stan Girard
cf3ee9a3df chore: Update backend/core version to 0.0.1 in release-please-manifest.json 2024-07-09 16:41:37 +02:00
Stan Girard
c6d794ecb4 chore: release please updated manifest 2024-07-09 16:38:36 +02:00
Stan Girard
b8eb5dc652 chore: Update release-please-core workflow for python package in backend 2024-07-09 16:36:23 +02:00