quivr/frontend/lib/helpers
Antoine Dewez 803f304390
feat(frontend): Quivr Assistants (#2448)
# 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):


<!--
ELLIPSIS_HIDDEN
-->
----

| 🚀 This description was created by
[Ellipsis](https://www.ellipsis.dev) for commit
3e95f1a5aa |
|--------|

### Summary:
This PR introduces the 'Quivr Assistants' feature with new frontend
components and pages, backend routes and DTOs changes, and a minor
update in the `processAssistant` function.

**Key points**:
- Introduced the 'Quivr Assistants' feature with new frontend components
and pages, backend routes and DTOs changes.
- Added new `AssistantModal` component in
`/frontend/app/assistants/AssistantModal/AssistantModal.tsx`.
- Added new `InputsStep` and `OutputsStep` components for handling
assistant inputs and outputs.
- Added new `AssistantModal` page in
`/frontend/app/assistants/page.tsx`.
- Added new API endpoints and types for assistants in
`/frontend/lib/api/assistants/assistants.ts` and
`/frontend/lib/api/assistants/types.ts`.
- Updated backend assistant routes and DTOs in
`backend/modules/assistant/controller/assistant_routes.py`,
`backend/modules/assistant/dto/inputs.py`,
`backend/modules/assistant/ito/difference.py`, and
`backend/modules/assistant/ito/summary.py`.
- Made a minor update in the `processAssistant` function in the
`/frontend/lib/api/assistants/assistants.ts` file.


----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!--
ELLIPSIS_HIDDEN
-->
2024-04-19 01:36:36 -07:00
..
__tests__ Config frontend tests (#408) 2023-06-29 13:18:30 +02:00
intercom feat(frontend): add a chatbot for users (#2144) 2024-02-04 22:06:24 -08:00
acceptedFormats.ts Feat: Bibtex file uploads (#2398) 2024-04-02 10:51:16 -07:00
cloneFileWithSanitizedName.ts fix: sanitize file name (#1728) 2023-11-27 14:08:10 +01:00
copyToClipboard.ts feat: enhance user page UI (#1319) 2023-10-05 17:50:02 +02:00
defineMaxTokens.ts feat: mistral (#2365) 2024-03-19 16:56:45 -07:00
getAccessibleModels.ts feat(frontend): Add Brain On Search Page (#2067) 2024-01-22 17:37:45 -08:00
getAxiosErrorParams.ts feat: update header and remove prompt / brain on backspace (#1052) 2023-08-29 15:52:22 +02:00
getBrainIconFromBrainType.tsx feat(frontend): Add Brain On Search Page (#2067) 2024-01-22 17:37:45 -08:00
getChatNameFromQuestion.ts feat(onboarding): add suggested questions answer (#1390) 2023-10-12 09:39:56 +02:00
getFileIcon.tsx Feat: Bibtex file uploads (#2398) 2024-04-02 10:51:16 -07:00
getFileType.ts feat: add notifications components (#1148) 2023-09-12 17:44:15 +02:00
getProcessEnvManager.ts Config frontend tests (#408) 2023-06-29 13:18:30 +02:00
iconList.ts feat(frontend): Quivr Assistants (#2448) 2024-04-19 01:36:36 -07:00
isSpeechRecognitionSupported.ts Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
parseBoolean.ts feat(frontend): dark mode (#2369) 2024-03-21 00:01:21 -07:00
redirectToPreviousPageOrSearchPage.ts feat(search): new way to interact with Quivr (#2026) 2024-01-19 20:34:30 -08:00
removeUndefined.ts Brain management 4 (#762) 2023-07-25 23:12:46 +02:00
updateMetadata.ts fix(i18n): update tests for french and spanish (#878) 2023-08-07 14:13:41 +02:00
uuid.ts feat: streaming for standard brain picking (#385) 2023-06-30 10:10:59 +02:00