278 Commits

Author SHA1 Message Date
n4ze3m
ff4473c35b feat: Add model type support
Adds model type support for chat and embedding models. This allows users to specify which type of model they want to use when adding custom models.

Additionally, this commit introduces a more descriptive interface for adding custom models, enhancing the clarity of the model selection process.
2024-10-13 18:22:16 +05:30
n4ze3m
d83ba79035 refactor add modal 2024-10-13 16:10:52 +05:30
n4ze3m
4b4036e0b0 Refactor: OpenAI settings UI & language
Update the user interface for the OpenAI settings to be more informative and consistent. Improved language around "OpenAI API Settings" to be more accurate and less technical. Also added a helpful tip for using LM Studio as a provider.
2024-10-12 23:49:12 +05:30
n4ze3m
30eb320c19 Fix: Improve settings layout and models refresh
Refine settings layout for better visual flow, enlarge settings sidebar for easier viewing, and adjust model refresh logic for more responsive updates.

Refactor: Add more visual weight to the settings panel and optimize model refresh logic.

Refactor: Enhance the visual appeal of settings panel by increasing its width and improving model refresh behavior for better user experience.
2024-10-12 23:39:31 +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
1300945b75 Fix: Prevent model selection modal from appearing for LM Studio provider
When using the LM Studio provider, the model selection modal was incorrectly appearing. This commit prevents the modal from appearing when the provider is set to LM Studio. This ensures that the user experience is consistent across all providers.
2024-10-12 19:28:08 +05:30
n4ze3m
f1e40d5908 feat: Add OpenAI provider support 2024-10-12 18:28:29 +05:30
n4ze3m
acce9b97f6 feat: Improve UI for loading OpenAI models
Make the loading state of OpenAI models more visually appealing and user-friendly by replacing the default `Spin` component with a more contextually relevant loading animation within a centered container. This provides a better visual cue to users while models are being fetched.
2024-10-12 16:54:46 +05:30
n4ze3m
ff371d6eef feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider.

The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
2024-10-12 16:53:42 +05:30
n4ze3m
3d8c8671e1 Merge remote-tracking branch 'origin/next' into openai 2024-10-02 20:10:21 +05:30
n4ze3m
1ec44f047d feat(share): Add history title to share modal
Adds the title of the current chat history to the share modal. This makes it easier for users to share their conversations with others, as the title provides context for the conversation.

The title is fetched from the database and displayed in the share modal.
2024-10-02 13:55:38 +05:30
n4ze3m
0e44a7ad4b feat: Add temporary system prompt
Adds a new setting that allows users to set a temporary system prompt for the current chat.
This prompt will override the selected system prompt if it exists.
The new setting is available in the "Current Chat Model Settings" modal.
This feature provides a way to quickly experiment with different system prompts without having to change the default setting.
2024-10-02 12:30:52 +05:30
n4ze3m
c8620637f8 feat: add OpenAI model support
Adds support for OpenAI models, allowing users to leverage various OpenAI models directly from the application. This includes custom OpenAI models and OpenAI-specific configurations for seamless integration.
2024-09-29 19:57:26 +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
n4ze3m
e2e3655c47 feat: OpenAI settings page
Add a new settings page for OpenAI configuration, including a dedicated tab in the settings layout, translations, and routing.
2024-09-28 16:08:02 +05:30
n4ze3m
2e97f6470d feat: Add clear chat history button to drawer
Adds a button to the sidebar drawer for clearing chat history.
The button uses a confirmation prompt to ensure user intent and clears the database entries.
This allows users to reset their chat history for a fresh start.
The button uses a tooltip to provide more information on its function.
2024-09-27 19:38:29 +05:30
n4ze3m
53d999a596 feat: Add system and quick prompts on side panel 2024-09-14 12:07:54 +05:30
n4ze3m
e44c47905a feat: Remove unnecessary memoization 2024-09-08 20:52:30 +05:30
n4ze3m
824ecf0a8c feat: Add LaTeX support to the markdown renderer
Adds LaTeX support to the markdown renderer using `rehype-katex` for math equations.

- Replaces block-level LaTeX delimiters `\[ \]` with `$$ $$`.
- Replaces inline LaTeX delimiters `\( \)` with `$ $`.
- Preprocesses the message before rendering to ensure correct delimiters.

This improves the rendering of markdown messages containing mathematical expressions, enhancing the user experience.
2024-09-08 11:53:15 +05:30
n4ze3m
3f61c6afc2 feat: Add citations display to playground message
Adds a collapsible section to the playground message that displays citations for the response. This is intended to help users better understand the sources used by the model.
2024-08-31 21:06:32 +05:30
Muhammed Nazeem
26e799b246
Merge pull request #179 from colin-campbell/stt-to-storage
stt-to-storage: UX - Move speechToText from state to storage.
2024-08-26 14:14:57 +05:30
n4ze3m
aa92670424 Merge branch 'next' of https://github.com/n4ze3m/page-assist into next 2024-08-26 14:13:00 +05:30
Colin Campbell
13cbc5b084 stt-to-storage: UX - Move speechToText from state to storage. 2024-08-25 13:37:39 +02:00
Muhammed Nazeem
a87b5b3db3
Merge pull request #176 from colin-campbell/headers-api-everywhere
Add headers to every API call
2024-08-22 22:37:14 +05:30
Colin Campbell
ca2c127cbd headers-api-everywhere: Add headers to all api calls 2024-08-22 10:12:03 +02:00
n4ze3m
eed0f7c689 chore: Update Twitter handle in AboutApp component 2024-08-21 23:14:22 +05:30
n4ze3m
9679f92821 feat: Add support for handling chat input keydown events 2024-08-20 20:22:01 +05:30
n4ze3m
35b8579028 feat: Add Number of Retrieved Documents on RAG 2024-08-20 18:32:01 +05:30
n4ze3m
4ef17ff479 feat: support for GPU layer 2024-08-20 16:11:50 +05:30
n4ze3m
5557ef3ab5 refactor: Remove unused import in PlaygroundForm component 2024-08-07 22:16:48 +05:30
n4ze3m
8bbb3c14f8 refactor: Improve textarea focus behavior in PlaygroundForm component 2024-08-07 22:14:49 +05:30
n4ze3m
eccf8f8a88 feat: Enable title generation in GeneralSettings component 2024-08-05 00:49:27 +05:30
n4ze3m
36fc8b6be1 feat: Add segmented control for custom and copilot prompts in PromptBody component 2024-08-04 18:12:09 +05:30
n4ze3m
6c44fcfca7 feat: Remove 'managePrompts.columns.actions' title from PromptBody component 2024-08-04 18:03:51 +05:30
n4ze3m
2cc880c722 feat: Add missing text placeholder in prompt help messages for different locales 2024-08-04 16:47:28 +05:30
n4ze3m
1bb6d3a89a feat: Add tag colors for custom and copilot prompts in PromptBody component 2024-08-04 11:23:29 +05:30
n4ze3m
80413a3c26 feat: Add segmented control for custom and copilot prompts in PromptBody component 2024-08-04 00:08:10 +05:30
n4ze3m
58304d9ca7 feat: Update translations for copilot context menu options 2024-08-03 23:51:17 +05:30
n4ze3m
ac9c9ca887 feat: copilot context menu for tool 2024-08-03 23:00:57 +05:30
n4ze3m
df3484bdeb feat: Truncate long titles in PromptBody component and improve rendering of system and quick prompts 2024-07-23 11:14:45 +05:30
n4ze3m
b12cf55a47 chore: Update SelectedKnowledge component styling and truncate long titles 2024-07-23 00:37:22 +05:30
n4ze3m
57c02bc1b1 feat: Add sidepanelRag settings for Copilot chat with website 2024-07-23 00:28:12 +05:30
n4ze3m
af09c8eed6 feat: ability to update knowledge base default file limit 2024-07-21 20:13:37 +05:30
n4ze3m
e7b70e5b8d feat: Update status color for failed knowledge processing 2024-07-16 10:19:29 +05:30
n4ze3m
9c8584f1c4 feat: Add support for sending notification after knowledge base processing 2024-07-16 00:37:50 +05:30
n4ze3m
f5f0157260 fix: scroll issue playground 2024-07-14 23:13:48 +05:30
n4ze3m
031e74f609 feat: Add option to restore last used model for previous chats 2024-07-08 23:56:25 +05:30
n4ze3m
d41ec2a89c feat: Add Chrome AI support 2024-06-30 20:45:06 +05:30
n4ze3m
52f9a2953a feat: Add custom headers support 2024-06-30 00:21:43 +05:30
n4ze3m
4363a4b0de feat: Add localization support for visitSpecificWebsite label
This commit adds localization support for the "visitSpecificWebsite" label in the settings.json file for multiple languages. Now, the label can be translated into different languages, including Japanese, Chinese, English, Malayalam, Italian, Portuguese, Russian, French, and Spanish.
2024-06-22 16:55:02 +05:30