Commit Graph
981 Commits
Author SHA1 Message Date
furyhawk 73eb938caa feat: add persistence scripts and configurations for Llama.cpp server 2026-04-11 10:42:51 +08:00
furyhawk 9d090e937d Add Docker Compose configuration for llama-cpp-server and new notebook for Gemma 4 vision model
- Updated .gitignore to include new model directories.
- Removed version specification from existing docker-compose.yml for llama-cpp-server.
- Created new docker-compose.yml for ai_stack/llamacpp.server with GPU support and environment configurations.
- Added Gemma4_(E2B)_Vision.ipynb notebook for data preparation, training, and inference of the Gemma 4 model.
2026-04-06 12:01:01 +08:00
furyhawk e8981f256e Add web search notebook for Python programming resources using DDGS 2026-04-06 10:56:50 +08:00
furyhawk 7becfa7262 feat: comment out speaches service in docker-compose.yml 2026-04-04 21:20:36 +08:00
furyhawk 9fa3b569f4 feat: add esphome/config/ to .gitignore to exclude ESPHome configuration files 2026-04-02 10:18:07 +08:00
furyhawk 5aec15f765 feat: add initial ESPHome configuration files including secrets, test, and Docker Compose setup 2026-04-02 10:16:53 +08:00
furyhawk 2ce1cd8ea4 feat: update RSS widget to use LocalLLaMA subreddit and clean up spacing 2026-03-26 17:32:54 +08:00
furyhawk db48f4638a feat: add initial configuration files including .env, docker-compose, and theme settings 2026-03-26 16:46:58 +08:00
furyhawk 8527ea4fa3 feat: enhance Sidebar with collapsible functionality and update WeatherMap styling 2026-03-26 15:14:32 +08:00
furyhawk aade40fea2 feat: update Ollama service configuration in Docker Compose for improved GPU support 2026-03-12 16:57:01 +08:00
furyhawk 60e00b5ef6 feat: add Docker Compose configuration for VLLM service with GPU support 2026-02-27 21:17:51 +08:00
furyhawk d21471ec59 feat: enable NVIDIA GPU support in Docker Compose for Ollama service 2026-02-18 09:40:16 +08:00
furyhawk 451e7f9566 feat: update VLLM service configuration in docker-compose 2026-02-12 13:48:23 +08:00
furyhawk 78cfb8058c feat: add VLLM service configuration to docker-compose 2026-02-12 08:37:00 +08:00
furyhawk 196a573b8c feat: Generate TypeScript client for Ollama API using OpenAPI specification
- Added a new script `generate-ollama-client-simple.sh` for generating a simple TypeScript client using the existing OpenAPI tools.
- Created a comprehensive `generate-ollama-client.sh` script to generate a FastAPI client from the Ollama OpenAPI specification with support for axios.
- Introduced `generate_fastapi_client.py` to support generating FastAPI clients from OpenAPI specifications in multiple languages, including TypeScript and Python.
- Generated TypeScript types for the Ollama API endpoints in `types.gen.ts`.
- Included example usage files for both Python and TypeScript clients to demonstrate how to interact with the Ollama API.
2025-06-24 20:51:54 +08:00
furyhawk 322d7ff4fb feat: add OpenAPI configuration files for Ollama service 2025-06-24 16:47:22 +08:00
furyhawk 0070042144 fix: correct port mappings for Postgres and Speaches services in docker-compose 2025-06-24 14:44:36 +08:00
furyhawk 1d8068a89f fix: comment out network_mode for services in docker-compose 2025-06-23 23:02:50 +08:00
furyhawk 3110ac11de feat: add port mappings for Ollama, Postgres, and Speaches services in docker-compose 2025-06-23 23:01:04 +08:00
furyhawk eedc7e4657 fix: update docker-compose and Makefile for host networking configuration 2025-06-23 22:09:08 +08:00
furyhawk bc1015aa0d fix: update postgres image reference to include docker.io prefix 2025-06-23 22:04:51 +08:00
furyhawk 5706f65b69 feat: update Dockerfile and docker-compose for improved networking and add new make targets for Ollama builds 2025-06-23 21:51:08 +08:00
furyhawk a7346efb31 feat: add Docker Compose configurations for Speaches service with CPU and GPU support 2025-06-23 16:48:23 +08:00
furyhawk 4c74a3ed35 Add Whisper model integration for audio transcription
- Implemented WhisperModel from faster_whisper for transcribing audio files.
- Configured model to run on GPU with FP16 for improved performance.
- Added functionality to detect language and print transcription segments with timestamps.
2025-06-23 14:56:10 +08:00
furyhawk bb6e1e466b feat: add type annotation for node in run_as_cli function 2025-06-22 18:49:20 +08:00
furyhawk f7b4e0a664 feat: add weather tool with NWS API integration and update dependencies 2025-06-21 09:41:03 +08:00
furyhawk 5e37cee394 feat: add groq package to dependencies and update version for gguf and gradio 2025-06-20 21:13:18 +08:00
furyhawk 801552f99e Implement chat application with SQLite backend and TypeScript frontend
- Added SQLite database to store chat messages.
- Created HTML interface for the chat application using Bootstrap.
- Developed backend logic in FastAPI to handle chat requests and responses.
- Implemented TypeScript for dynamic message rendering and interaction.
- Integrated logging with Logfire for monitoring.
- Configured Ollama model for OpenAI-compatible API usage.
- Established a question graph for evaluating user responses.
2025-06-19 10:36:34 +08:00
furyhawk f44624c51d feat: add PostgreSQL service to docker-compose for Ollama integration 2025-06-18 19:59:55 +08:00
furyhawk 91baf7c053 Add notebook for fixing vector dimension mismatch and update rag.py for Ollama integration
- Created a Jupyter notebook to address vector dimension mismatch errors in the RAG database.
- Implemented a solution to reset the database schema to match the current embedding model dimensions.
- Updated rag.py to use the Ollama model with OpenAI-compatible endpoints.
- Added functionality for building the search database and inserting document sections with correct embeddings.
- Included Pydantic models for validation of embedding dimensions.
- Enhanced error handling for asyncpg DataError exceptions during database operations.
2025-06-18 19:33:41 +08:00
furyhawk c48838ef4d feat: add mcp and sse-starlette packages to dependencies; update pydantic-ai-slim extras 2025-06-17 19:02:14 +08:00
furyhawk 940c1f8dbc fix: update execution counts and outputs in ollama notebook; add search functionality for animated films
- Reset execution counts for cells in `ollama.ipynb` to reflect the correct order.
- Adjusted output tokens in the usage statistics for accuracy.
- Added a new cell to query the top five highest-grossing animated films of 2025 using DuckDuckGo search.
- Updated `pyproject.toml` to include `duckduckgo` as a dependency for the new search functionality.
- Enhanced `uv.lock` to reflect the addition of `duckduckgo-search` and its dependencies.
2025-06-17 16:19:31 +08:00
furyhawk 6b452ba2eb Implement feature X to enhance user experience and fix bug Y in module Z 2025-06-17 14:35:39 +08:00
furyhawk 23e798bb7c Refactor model loading script and add Ollama notebook
- Updated the Modelfile path in `pull-deepseek-model.sh` to use an absolute path for model files.
- Simplified the model loading process by removing unnecessary directory changes and directly referencing the mounted Modelfile.
- Added a new Jupyter notebook `ollama.ipynb` that demonstrates the usage of the Ollama API with a sample query and error handling for unsupported tools.
2025-06-16 15:41:55 +08:00
furyhawk 3cfd66a31b fix: Update container commands from Docker to Podman in pull-deepseek-model.sh 2025-06-16 13:17:47 +08:00
furyhawk f8fad71b74 Add initial pyproject.toml for pydantic-ai project with dependencies 2025-06-16 13:11:17 +08:00
furyhawk 59e5f20dbb Implement feature X to enhance user experience and fix bug Y in module Z 2025-06-16 07:15:12 +08:00
furyhawk 3dbefacf1b Refactor code structure and remove redundant functions for improved readability and maintainability 2025-06-15 20:22:05 +08:00
furyhawk f07aeaf812 Remove empty notebook and add comprehensive LlamaCPP API examples with health check, server info, text completion, chat completion, streaming, and utility functions. 2025-06-15 10:43:52 +08:00
furyhawk 13698884f7 fix: Update container check from Docker to Podman in LlamaCPP script 2025-06-15 09:11:35 +08:00
furyhawk a3710d70a7 fix: Improve huggingface-hub installation process with enhanced logging and fallback methods 2025-06-15 08:50:28 +08:00
furyhawk 4136655e74 fix: Enhance huggingface-hub installation process with improved error handling and fallback options 2025-06-15 08:45:16 +08:00
furyhawk 3177afddba fix: Improve huggingface-hub installation process and add error handling 2025-06-15 08:44:03 +08:00
furyhawk 96b4b2c0b0 feat: Add host networking option for LlamaCPP build and update help text 2025-06-15 08:35:19 +08:00
furyhawk 22e8c795c7 fix: Add ai_stack/llamacpp/models/ to .gitignore to prevent tracking of model files 2025-06-15 08:30:10 +08:00
furyhawk a8dad3debe fix: Update model file references and enhance Dockerfile for LlamaCPP setup 2025-06-15 08:29:42 +08:00
furyhawk e9dc288cef Add Ollama Docker setup and model management scripts
- Created README.md for Ollama Docker setup with instructions for running and using models.
- Added docker-compose.yml for Ollama service configuration.
- Introduced scripts for model setup, including pulling models from Hugging Face and loading them into Ollama.
- Implemented AI launcher script to choose between Ollama and LlamaCPP backends.
- Added GPU support scripts for LlamaCPP with detailed logging and error handling.
- Included simple model pull script for easier model management.
- Established a structured approach for model management and integration with Ollama API.
2025-06-14 21:31:16 +08:00
furyhawk a54b7ffc38 refactor: Remove unused dependencies from pyproject.toml 2025-06-03 18:21:21 +08:00
furyhawk bf91dfb2ea Refactor code structure for improved readability and maintainability 2025-06-03 15:31:35 +08:00
furyhawk 11f83042ae Add toggle_nvidia.sh script for managing NVIDIA persistence mode and performance state
This script allows users to easily enable or disable NVIDIA persistence mode and adjust the performance state of the GPU. It includes options to set the clock speeds and reload the NVIDIA Unified Memory kernel module. Usage instructions are provided for clarity.
2025-06-03 13:18:36 +08:00