Commit Graph

162 Commits

Author SHA1 Message Date
n4ze3m
084b859e3e feat: add option to remove reasoning tag from TTS output 2025-02-09 13:00:04 +05:30
n4ze3m
7180ea8146 feat: skip embedding model check when simple search is enabled 2025-02-08 23:24:18 +05:30
n4ze3m
926f4e1a4a feat: implement CustomAIMessageChunk class and enhance reasoning handling in useMessageOption hook 2025-02-08 20:50:48 +05:30
n4ze3m
40698e02d7 feat: update version to 1.4.6 and enhance code block component with download and copy sticky support 2025-02-08 12:48:49 +05:30
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
yz778
1b6d4a344a fix: fix some typos 2025-02-02 22:03:01 -08:00
n4ze3m
0c48bfa1c0 feat: Enhance embedding model validation by incorporating simple internet search check 2025-01-26 18:36:28 +05:30
n4ze3m
51804bc9ae fix: bug fix 2025-01-25 15:19:28 +05:30
n4ze3m
c2c80e2226 feat: Add error handling for fetching Ollama URL 2025-01-24 22:36:46 +05:30
n4ze3m
97daaf9dc2 feat: Add reasoning UI 2025-01-24 22:29:18 +05:30
n4ze3m
7443d0ab6b feat: Add option to enable chat with website by default 2025-01-18 22:04:39 +05:30
n4ze3m
72926f947e feat: Improve UI styles in PlaygroundForm and Select components 2025-01-12 00:27:58 +05:30
n4ze3m
48b7a2824a feat: Add option to enable internet search by default 2025-01-12 00:19:39 +05:30
n4ze3m
867204604b feat: Add sidebar chat history and functionality 2025-01-11 20:58:45 +05:30
n4ze3m
9674b842ef feat: Add Ollama model settings for tfsZ, numKeep, numThread, and useMlock 2025-01-05 15:11:43 +05:30
n4ze3m
0af69a3be8 feat: Add text splitting configuration options 2025-01-04 23:24:23 +05:30
n4ze3m
3ddb7f1ad8 feat: Add ElevenLabs TTS provider and response splitting options 2024-12-28 20:10:50 +05:30
n4ze3m
aa49f03f63 feat: Add support for minP, repeatLastN, and repeatPenalty model settings 2024-12-28 17:38:52 +05:30
n4ze3m
18bc597dc7 feat: Add OCR support to message formatting 2024-12-28 16:27:49 +05:30
n4ze3m
0a5144e784 fix: Adjust height of message container in PlaygroundChat component 2024-12-21 20:44:18 +05:30
n4ze3m
f8bd740cfa feat: Adjust UI styles in PlaygroundForm and PlaygroundMessage components 2024-12-21 20:40:57 +05:30
n4ze3m
15fb80d75d feat: Add support for custom Google domain in search settings 2024-12-21 20:22:13 +05:30
n4ze3m
8124490655 feat: Improve system reset functionality in settings 2024-12-15 13:09:37 +05:30
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