updated Modelfile to tell bots to stay in character
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
@@ -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:
|
|
||||||
@@ -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.
Reference in New Issue
Block a user