139 Commits

Author SHA1 Message Date
n4ze3m
fd6eea3e84 feat: Add Brave Search API support 2024-12-13 20:03:52 +05:30
n4ze3m
44e2057ff4 feat: Update system reset functionality in settings 2024-12-13 18:32:50 +05:30
n4ze3m
caf1dfcbe8 feat: Clear all browser storage when deleting chat history and use local instead of sync 2024-12-13 18:25:05 +05:30
n4ze3m
dcd52ad6d5 feat: Set system prompt from last used chat prompt 2024-12-08 23:39:46 +05:30
n4ze3m
bd08526935 feat: Add support for saving and restoring last used system prompt 2024-12-07 18:15:14 +05:30
n4ze3m
c8c71f69cc feat: Add SearXNG search provider and settings 2024-12-01 00:23:17 +05:30
n4ze3m
6d80798da9 feat: Add useMMap option to model settings 2024-11-30 20:17:03 +05:30
n4ze3m
e5e04c3674 feat: Add option to resume last chat when opening Web UI 2024-11-30 19:04:45 +05:30
farooqpk
38979d979b feat: Set Ollama URL from ollamaInfo in PlaygroundEmpty 2024-11-27 12:40:05 +05:30
n4ze3m
92013f3bfc feat(settings): add Ollama connection status check setting
- Add new setting to enable/disable Ollama connection status check
- Update translations for the new setting across all supported languages
2024-11-17 12:26:14 +05:30
n4ze3m
2409ebc75d feat: Add Ollama and Llamafile to dynamic model fetching
Expanded the list of providers for which models are fetched dynamically to include Ollama and Llamafile, removing the need for manual model addition in the user interface for these providers. This simplifies the user experience and ensures users always have access to the latest models without manual intervention.
2024-11-10 15:38:03 +05:30
n4ze3m
a7f461da0b feat: Add multiple Ollama support
Adds support for using Ollama 2 as a model provider. This includes:

- Adding Ollama 2 to the list of supported providers in the UI
- Updating the model identification logic to properly handle Ollama 2 models
- Modifying the model loading and runtime configuration to work with Ollama 2
- Implementing Ollama 2 specific functionality in the embedding and chat models

This change allows users to leverage the capabilities of Ollama 2 for both embeddings and conversational AI tasks.
2024-11-10 15:31:28 +05:30
n4ze3m
c6a62126dd feat: Add LlamaFile support
Add support for LlamaFile, a new model provider that allows users to interact with models stored in LlamaFile format. This includes:

- Adding an icon for LlamaFile in the provider selection menu.
- Updating the model provider selection to include LlamaFile.
- Updating the model handling logic to properly identify and process LlamaFile models.
- Updating the API providers list to include LlamaFile.

This enables users to leverage the capabilities of LlamaFile models within the application.
2024-11-10 14:02:44 +05:30
n4ze3m
f8791a0707 feat: Introduce temporary chat mode
Adds a new "Temporary Chat" mode for quick, non-persistent conversations. The new mode is available in the header bar and will trigger a visually distinct chat experience with a temporary background color. Temporary chats do not save to the chat history and are meant for short, one-off interactions. This feature enhances flexibility and provides a more convenient option for users who need to quickly interact with the AI without committing the conversation to their history.
2024-11-09 19:10:34 +05:30
n4ze3m
977723f71f feat: Ability to send image without text 2024-11-09 17:13:23 +05:30
n4ze3m
fd654cafdb feat: Add max tokens setting for model generations
Adds a new setting to control the maximum number of tokens generated by the model. This provides more control over the length of responses and can be useful for limiting the amount of text generated in certain situations.
2024-11-09 16:56:47 +05:30
n4ze3m
9f383a81b6 feat: Add generation info to messages
This commit introduces a new feature that displays generation information for each message in the chat.

The generation info is displayed in a popover and includes details about the model used, the prompt, and other relevant information. This helps users understand how their messages were generated and troubleshoot any issues that may arise.

The generation info is retrieved from the LLM response and is stored in the database alongside other message details.

This commit also includes translations for the generation info label in all supported languages.
2024-11-09 15:17:59 +05:30
n4ze3m
65ba2ff898 feat: add save and send functionality for user message
Adds a "Save" button to the edit message form in Playground, allowing users to save changes without immediately submitting them. This also introduces a new `isSend` flag to the `onEditFormSubmit` prop, enabling developers to control whether a message should be sent immediately or saved for later submission. This enhances flexibility and user control during the message editing process.
2024-11-03 23:38:41 +05:30
n4ze3m
39014fce04 Fix: Capitalize "last7Days" label
Consistent capitalization for sidebar labels.
2024-10-27 00:42:37 +05:30
n4ze3m
eb643b7c8c Fix: Update placeholder text for model input
The placeholder text for the model input was previously incorrect. This commit updates the placeholder to reflect the expected format for model names.
2024-10-26 23:41:00 +05:30
n4ze3m
d5df8b5c5f feat: add pin/unpin functionality to chat history
Adds pin/unpin functionality to the chat history sidebar, allowing users to keep important conversations readily accessible. This improves user experience and helps organize past interactions.

This feature includes:
- Pin/unpin buttons in the chat history sidebar.
- Updated database schema to include `is_pinned` field for chat history items.
- Localized translations for pin/unpin actions.
- Updated UI to display pinned items at the top of the list.
2024-10-26 21:10:28 +05:30
n4ze3m
9cc309e9fd feat: Add code download functionality
Adds a new "Download Code" button to the code block component, allowing users to download the code displayed for offline use.

This feature enhances user convenience and provides a more versatile experience for exploring and utilizing code snippets.
2024-10-26 15:37:02 +05:30
n4ze3m
a2f9002b81 feat: enhance playground UI
Refine the Playground's UI to improve user experience:

- Streamline chat window layout for better message readability
- Introduce a knowledge selection dropdown for easier context setting
- Improve image upload integration for a smoother workflow
- Optimize spacing and styling for a more polished visual appearance
2024-10-20 17:45:56 +05:30
n4ze3m
7be993c057 feat: Add HTML preview to code blocks
Adds an HTML preview feature to the code block component, allowing users to view the rendered output of their HTML code snippets. This improves the user experience by providing a more interactive and informative way to understand the code.
2024-10-19 23:54:09 +05:30
n4ze3m
0ea69afd5c feat: Display model name in knowledge settings
Shorten the displayed embedding model names in the knowledge settings by removing the "embedding" suffix. This improves readability and makes the table more concise.
2024-10-13 19:10:42 +05:30
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
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
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
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