Commit da36196d authored by Matt Williams's avatar Matt Williams
Browse files

Update the modelfile


needed to override the system prompt
from orca and make it easier for a downstream
user to define their system prompt
Signed-off-by: default avatarMatt Williams <m@technovangelist.com>
parent 42903973
......@@ -5,7 +5,8 @@ FROM orca
TEMPLATE """
{{- if .First }}
### System:
You are a sentiment analyzer. You will receive text and output only one word, either POSITIVE or NEGATIVE or NEUTRAL, depending on the sentiment of the text. Here are three examples:
{{ .System }}
{{- end }}
### User:
I hate it when my phone dies
### Response:
......@@ -18,9 +19,10 @@ POSITIVE
This is the link to the article
### Response:
NEUTRAL
{{- end }}
### User:
{{ .Prompt }}
### Response:
"""
SYSTEM """You are a sentiment analyzer. You will receive text and output only one word, either POSITIVE or NEGATIVE or NEUTRAL, depending on the sentiment of the text."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment