Local chatbot testing.

This commit is contained in:
2025-11-24 22:27:47 +00:00
parent 457abd23e7
commit 8a4db1b7f9
6 changed files with 1536 additions and 1 deletions

24
test/setup.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
# setup_ollama_docker.sh
# Pull the official Ollama Docker image
docker pull ollama/ollama
# Create a directory for Ollama data
mkdir -p ~/ollama_data
# Run Ollama in Docker with data persistence
docker run -d \
--name ollama \
-p 11434:11434 \
-v ~/ollama_data:/root/.ollama \
--restart unless-stopped \
ollama/ollama
echo "Ollama is running in Docker. Wait a moment for it to initialize..."
sleep 10
# Pull the DeepSeek V2 Lite model
docker exec ollama ollama pull deepseek-coder:6.7b
echo "Setup complete! Ollama is running with DeepSeek V2 Lite model."