diff --git a/README.md b/README.md index fccc6b846..d1063f5ef 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,10 @@ ChatGPT-Style Web Interface for Ollama 🦙 - 🚀 **Effortless Setup**: Install seamlessly using Docker for a hassle-free experience. - 🤖 **Multiple Model Support**: Seamlessly switch between different chat models for diverse interactions. - 📜 **Chat History**: Effortlessly access and manage your conversation history. +- 📤📥 **Import/Export Chat History**: Seamlessly move your chat data in and out of the platform. +- ⚙️ **Fine-Tuned Control with Advanced Parameters**: Gain a deeper level of control by adjusting parameters such as temperature and defining your system prompts to tailor the conversation to your specific preferences and needs. - 💻 **Code Syntax Highlighting**: Enjoy enhanced code readability with our syntax highlighting feature. -- 🔗 **External Server Connection**: Link to the model when Ollama is hosted on a different server via the environment variable -e OLLAMA_ENDPOINT="http://[insert your Ollama address]". +- 🔗 **External Ollama Server Connection**: Link to the model when Ollama is hosted on a different server via the environment variable -e OLLAMA_ENDPOINT="http://[insert your Ollama address]". - 🌟 **Continuous Updates**: We are committed to improving Ollama Web UI with regular updates and new features. ## How to Install 🚀 @@ -58,12 +60,10 @@ docker run -d -p 3000:3000 --add-host=host.docker.internal:host-gateway -e OLLAM Here are some exciting tasks on our to-do list: -- 📤📥 **Import/Export Chat History**: Seamlessly move your chat data in and out of the platform. - 🌐 **Web Browser Extension**: Seamlessly integrate our services into your browsing experience with our convenient browser extension. - 🚀 **Integration with Messaging Platforms**: Explore possibilities for integrating with popular messaging platforms like Slack and Discord. - 🎨 **Customization**: Tailor your chat environment with personalized themes and styles. - 📥🗑️ **Download/Delete Models**: Easily acquire or remove models directly from the web UI. -- ⚙️ **Advanced Parameters Support**: Harness the power of advanced settings for fine-tuned control. - 📚 **Enhanced Documentation**: Elevate your setup and customization experience with improved, comprehensive documentation. - 🌟 **User Interface Enhancement**: Elevate the user interface to deliver a smoother, more enjoyable interaction. - 🧐 **User Testing and Feedback Gathering**: Conduct thorough user testing to gather insights and refine our offerings based on valuable user feedback. diff --git a/package-lock.json b/package-lock.json index ed7a8483f..21fd4e0dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.1", "dependencies": { "@sveltejs/adapter-node": "^1.3.1", + "file-saver": "^2.0.5", "highlight.js": "^11.9.0", "idb": "^7.1.1", "marked": "^9.1.0", @@ -1902,6 +1903,11 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/file-saver": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", + "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -5039,6 +5045,11 @@ "flat-cache": "^3.0.4" } }, + "file-saver": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", + "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" + }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", diff --git a/package.json b/package.json index c69dc354a..7aeefbef0 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "type": "module", "dependencies": { "@sveltejs/adapter-node": "^1.3.1", + "file-saver": "^2.0.5", "highlight.js": "^11.9.0", "idb": "^7.1.1", "marked": "^9.1.0", diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 6d46f701f..3ec47ae9b 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -1,19 +1,80 @@ - -
- - +
+
+
Settings
+ +
+
+ +
+
+
System Prompt
+