← ClaudeAtlas

grepai-embeddings-ollamalisted

Configure Ollama as embedding provider for GrepAI. Use this skill for local, private embedding generation.
NNIIKKKKII/grepai-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill NNIIKKKKII/grepai-skills
# GrepAI Embeddings with Ollama This skill covers using Ollama as the embedding provider for GrepAI, enabling 100% private, local code search. ## When to Use This Skill - Setting up private, local embeddings - Choosing the right Ollama model - Optimizing Ollama performance - Troubleshooting Ollama connection issues ## Why Ollama? | Advantage | Description | |-----------|-------------| | 🔒 **Privacy** | Code never leaves your machine | | 💰 **Free** | No API costs or usage limits | | ⚡ **Speed** | No network latency | | 🔌 **Offline** | Works without internet | | 🔧 **Control** | Choose your model | ## Prerequisites 1. Ollama installed and running 2. An embedding model downloaded ```bash # Install Ollama brew install ollama # macOS # or curl -fsSL https://ollama.com/install.sh | sh # Linux # Start Ollama ollama serve # Download model ollama pull nomic-embed-text ``` ## Configuration ### Basic Configuration ```yaml # .grepai/config.yaml embedder: provider: ollama model: nomic-embed-text endpoint: http://localhost:11434 ``` ### With Custom Endpoint ```yaml embedder: provider: ollama model: nomic-embed-text endpoint: http://192.168.1.100:11434 # Remote Ollama server ``` ### With Explicit Dimensions ```yaml embedder: provider: ollama model: nomic-embed-text endpoint: http://localhost:11434 dimensions: 768 # Usually auto-detected ``` ## Available Models ### Recommended: nomic-embed-text ```bash ollama pull nomic-embed-text ``` | Propert