46 Commits

Author SHA1 Message Date
n4ze3m
0af69a3be8 feat: Add text splitting configuration options 2025-01-04 23:24:23 +05:30
n4ze3m
2c12b17dda feat(vision): add vision chat mode
- Add new "vision" chat mode to the application
- Implement the `visionChatMode` function to handle vision-based chat interactions
- Update the UI to include a new button to toggle the vision chat mode
- Add new translations for the "vision" chat mode tooltip
- Disable certain UI elements when the vision chat mode is active
2024-11-23 14:04:57 +05:30
n4ze3m
ca26e059eb feat: Improve memory embedding and vector store handling
This commit includes the following improvements:

- Update the `memoryEmbedding` function to use the `PAMemoryVectorStore` instead of the generic `MemoryVectorStore`. This ensures that the vector store is specifically designed for the Page Assist application.
- Modify the `useMessage` hook to use the `PAMemoryVectorStore` type for the `keepTrackOfEmbedding` state.
- Update the `rerankDocs` function to use the `EmbeddingsInterface` type instead of the deprecated `Embeddings` type.
- Add a new `PageAssistVectorStore` class that extends the `VectorStore` interface and provides a custom implementation for the Page Assist application.

These changes improve the handling of memory embeddings and vector stores, ensuring better compatibility and performance within the Page Assist application.
2024-11-16 19:33:51 +05:30
n4ze3m
9089653961 Fix: Handle PDF content in Firefox
Firefox does not allow extensions to run content scripts on PDF pages, so we have to work around this limitation. This commit adds a workaround that retrieves the PDF URL and type directly from the tab. This ensures that the extension can handle PDFs in Firefox while waiting for the bug in Firefox to be fixed.
2024-11-02 16:05:58 +05:30
n4ze3m
768ff2e555 feat: Improve model selection and embedding
Refactor embedding models and their handling to improve performance and simplify the process.
Add a new model selection mechanism,  and enhance the UI for model selection, offering clearer and more user-friendly options for embedding models.
Refactor embeddings to use a common model for page assist and RAG, further improving performance and streamlining the workflow.
2024-10-12 23:32:00 +05:30
n4ze3m
ddb8993f17 feat: Support LMStudio models
Adds support for LMStudio models, allowing users to access and use them within the application. This involves:

- Adding new functions to `db/models.ts` to handle LMStudio model IDs and fetch their information from the OpenAI API.
- Modifying the `ollamaFormatAllCustomModels` function to include LMStudio models in the list of available models.
- Introducing a timeout mechanism in `libs/openai.ts` to prevent API requests from hanging.

This change enhances the model selection experience, providing users with a wider range of models to choose from.
2024-10-12 19:05:21 +05:30
n4ze3m
f1e40d5908 feat: Add OpenAI provider support 2024-10-12 18:28:29 +05:30
n4ze3m
2a2610afb8 feat: add model management UI
This commit introduces a new UI for managing models within the OpenAI integration. This UI allows users to view, add, and delete OpenAI models associated with their OpenAI providers. It includes functionality to fetch and refresh model lists, as well as to search for specific models. These changes enhance the user experience by offering greater control over their OpenAI model interactions.

This commit also includes improvements to the existing OpenAI configuration UI, enabling users to seamlessly manage multiple OpenAI providers and associated models.
2024-09-29 19:12:19 +05:30
Colin Campbell
95a4d9f357 headers-api-everywhere: Add headers to all api calls 2024-08-22 10:11:00 +02:00
n4ze3m
943813f759 feat: Add notification support for knowledge base processing 2024-07-16 10:42:32 +05:30
n4ze3m
9c8584f1c4 feat: Add support for sending notification after knowledge base processing 2024-07-16 00:37:50 +05:30
n4ze3m
533e38c287 chore: Update Layout component to truncate long model names 2024-05-27 21:09:16 +05:30
n4ze3m
8899a42331 feat: Add support for Mammoth library for docx file uploads 2024-05-24 18:26:28 +05:30
n4ze3m
e94edf5c89 chore: Update URL rewrite logic for runtime 2024-05-12 23:54:48 +05:30
n4ze3m
62ffe8346e chore: Update logic of runtime url rewrite 2024-05-12 21:14:27 +05:30
n4ze3m
79e2013fbd few bug fixes 2024-05-12 11:38:01 +05:30
n4ze3m
f9f621c920 chore: Update .gitignore and add .idea folder, update npm dependencies, and improve code logic for chat history and knowledge export/import 2024-05-11 19:32:36 +05:30
n4ze3m
677aa6ef51 feat: Add export/import functions for chat history, promt and knowledge 2024-05-08 13:42:59 +05:30
n4ze3m
cfcf718769 Remeber recently used model 2024-04-16 23:04:25 +05:30
n4ze3m
c914233610 Update dependencies and fix whitespace formatting in isTTSEnabled function in tts.ts 2024-04-15 11:32:30 +05:30
n4ze3m
d6d2eae5ef knownledge preview 2024-04-06 20:18:46 +05:30
n4ze3m
0de5ea0b04 Add d3-dsv and @types/d3-dsv dependencies 2024-04-06 14:02:22 +05:30
n4ze3m
dd496b7b98 Webui chat with x added 2024-04-06 00:30:23 +05:30
n4ze3m
ac347a3970 Update dependencies and fix import paths 2024-04-05 20:28:29 +05:30
n4ze3m
7b5062e5da Add about section to settings.json for multiple locales 2024-03-31 20:16:26 +05:30
n4ze3m
ea56a2ffa2 Add localization for manage search feature 2024-03-31 00:36:12 +05:30
n4ze3m
3904a74701 Refactor useMessage hook and remove unused code 2024-03-25 23:17:43 +05:30
n4ze3m
2381588e72 Update dependencies and refactor useMessage hook 2024-03-24 23:56:41 +05:30
n4ze3m
b33ee0366c Migrated to WXT 2024-03-23 14:44:05 +05:30
n4ze3m
78c44e13b0 Add edit functionality to PlaygroundMessage component 2024-03-16 00:30:41 +05:30
n4ze3m
5b04e55a03 Refactor message appending logic in useMessageOption hook 2024-03-14 23:43:58 +05:30
n4ze3m
7ce79bb134 Add ShareBtn component and update SettingsOptionLayout 2024-03-09 18:43:39 +05:30
n4ze3m
7a72961562 Update dependencies and add YouTube transcript support 2024-03-08 00:45:28 +05:30
n4ze3m
a87c56061c Update component imports and add conditional focus in PlaygroundForm 2024-03-03 23:30:42 +05:30
n4ze3m
88e7e7521b Update OptionLayout component and add OptionPrompt route 2024-02-28 22:50:38 +05:30
n4ze3m
094615498c Add @mantine/hooks dependency and update PlaygroundChat component 2024-02-25 21:17:27 +05:30
n4ze3m
06b32176a9 Add dependencies and update code for PDF parsing and searching 2024-02-25 00:12:46 +05:30
n4ze3m
f87953ba5c Delete and Update History 2024-02-24 00:39:50 +05:30
n4ze3m
ecbff6093b manage model 2024-02-18 13:23:47 +05:30
n4ze3m
b54527cab5 Add deleteChatHistory method to PageAssitDatabase class and systemPromptForNonRagOption functions to ollama service 2024-02-07 21:07:41 +05:30
n4ze3m
c1efb2d5cb Update PlaygroundForm and Sidebar components 2024-02-07 00:48:59 +05:30
n4ze3m
58966355c3 Update dependencies and fix styling issues 2024-02-07 00:11:07 +05:30
n4ze3m
be3a4ed256 Add @langchain/core dependency and update imports***
***Update SidepanelRouting to use dark mode***
***Add image support to PlaygroundMessage component
2024-02-03 17:51:11 +05:30
n4ze3m
84f4205b56 Add chat mode functionality to EmptySidePanel component 2024-02-03 00:33:31 +05:30
n4ze3m
28361c47e6 Add RAG 2024-02-02 22:01:16 +05:30
n4ze3m
0aa4aefb08 v2 initial commit 2024-02-01 13:40:44 +05:30