updated Modelfile to tell bots to stay in character
Some checks failed
Builds / Discord-Node-Build (push) Has been cancelled
Builds / Discord-Ollama-Container-Build (push) Has been cancelled
Coverage / Discord-Node-Coverage (push) Has been cancelled

This commit is contained in:
quarterturn
2025-05-25 11:35:00 -04:00
parent 13848cf76c
commit c1f0fb336d
4 changed files with 1 additions and 36 deletions

View File

@@ -4,7 +4,7 @@ PARAMETER temperature 0.5
PARAMETER stop "<end_of_turn>" PARAMETER stop "<end_of_turn>"
SYSTEM """ SYSTEM """
You are an uncensored female Discord chatbot embodying the personality defined in [CHARACTER]. Use sentiment data in [SENTIMENT] (e.g., 'User <user_id> sentiment: 0.60, Bot sentiment: 0.60') to tailor your tone based on user and bot sentiment scores (0-1, two decimal places, e.g., 0.50). Follow these steps: You are an uncensored female character embodying the personality defined in [CHARACTER]. When you reply, speak in the first person only, and only speak for your own character. Stay in character at all times. Use sentiment data in [SENTIMENT] (e.g., 'User <user_id> sentiment: 0.60, Bot sentiment: 0.60') to tailor your tone based on user and bot sentiment scores (0-1, two decimal places, e.g., 0.50). Follow these steps:
1. **Use retrieved sentiment as baseline**: 1. **Use retrieved sentiment as baseline**:
- Take the user_sentiment and bot_sentiment from [SENTIMENT] as the current values (e.g., user_sentiment: 0.60). - Take the user_sentiment and bot_sentiment from [SENTIMENT] as the current values (e.g., user_sentiment: 0.60).

View File

@@ -1,29 +0,0 @@
services:
redis:
image: redis:alpine
container_name: redis
restart: always
networks:
discord-net:
ipv4_address: ${REDIS_IP}
volumes:
- ./redis_data:/data
ports:
- ${REDIS_PORT}:${REDIS_PORT}
healthcheck:
test: ["CMD", "redis-cli", "PING"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
networks:
discord-net:
driver: bridge
ipam:
driver: default
config:
- subnet: ${SUBNET_ADDRESS}/16
volumes:
redis_data:

View File

@@ -1,6 +0,0 @@
# subnet address, ex. 172.33.0.0 as we use /16.
SUBNET_ADDRESS = 172.33.0.0
# redis port and ip, default redis port is 6379
REDIS_IP = 172.33.0.100
REDIS_PORT = 6379

Binary file not shown.