17 Commits

Author SHA1 Message Date
n4ze3m
d64c84fc83 feat: Implement Ollama embedding
Adds support for Ollama embedding, enabling the use of Ollama as an embedding model for RAG.

This allows users to leverage Ollama's advanced embedding capabilities for better document understanding and retrieval.
2024-10-13 19:07:01 +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
ba071ffeb1 add embedding support 2024-10-12 21:12:45 +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
caeb923d00 Fix: Remove debugging log statement
Removed a debugging `console.log` statement that was printing the `isCustom` variable and the model name. This statement was no longer necessary and was potentially causing issues.
2024-09-30 10:28:45 +05:30
n4ze3m
efec675b9a Fix: Replace empty API keys with temporary placeholder
The previous code used an empty string for the `apiKey` when no key was provided, which could lead to unexpected behavior. This commit replaces those with a temporary placeholder ("temp") to avoid potential errors and make the code more robust.
2024-09-30 10:28:35 +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
c077201591 feat: Migrate Chrome AI integration to a separate module 2024-08-31 23:36:52 +05:30
n4ze3m
9bd3193ad9 fix: Improve ChromeAI model parameters 2024-08-31 20:17:10 +05:30
n4ze3m
4ef17ff479 feat: support for GPU layer 2024-08-20 16:11:50 +05:30
n4ze3m
eccf8f8a88 feat: Enable title generation in GeneralSettings component 2024-08-05 00:49:27 +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
86296c96b6 chrome ai model 2024-06-30 00:21:12 +05:30
n4ze3m
fadf736f70 refactor: Parse keepAlive value in OllamaEmbeddingsPageAssist 2024-05-23 11:22:46 +05:30
n4ze3m
b3a455382c chore: Update version to 1.1.9 and add Model Settings to Ollama settings page 2024-05-23 00:39:44 +05:30
n4ze3m
36c1cae5fb Update localization messages for Chinese, English, and Japanese languages 2024-04-14 00:42:47 +05:30