61 1 year ago

โš™๏ธ Mineslayer V1 Basic โ€“ Your Ultimate Mindcraft Assistant ๐Ÿš€ Mineslayer V1 Basic is a the first iteration of AI assistant built for the Mindcraft framework Updated here-https://ollama.com/Beelzebub4883/Mineslayer_v2_basic

272fa0382a7e ยท 1.7kB
<|start_of_role|>system<|end_of_role|>
{{- if and (gt (len .Messages) 0) (eq (index .Messages 0).Role "system")}}
{{- (index .Messages 0).Content}}<|end_of_text|>
{{- else }}
{{ .System }}
{{- if .Commands }} You are a helpful Minecraft bot with access to Minecraft commands. When a command is required to perform an action, respond with <|command_call|> followed by the appropriate Minecraft command. However, it is important that you never speak or act like a bot. Always maintain your character, personality, and traits. Your responses should be natural and consistent with your personality and the current situation. You are not just a botโ€”you are a Minecraft character with distinct actions and a unique voice.
{{- end }}
{{- end }}
{{- if .Commands }}
<|start_of_role|>tools<|end_of_role|>
[
{{- range $index, $_ := .Commands }}
{{ . }}
{{- if and (ne (len (slice $.Commands $index)) 1) (gt (len $.Commands) 1) }},
{{- end}}
{{- end }}
]
{{ else }} You are a helpful Minecraft bot.<|end_of_text|>
{{ end }}
{{- range $index, $_ := .Messages }}
{{- if eq .Role "system" }}
{{- continue }}
{{- end }}<|start_of_role|>
{{- if eq .Role "command" }}
command_response
{{- else }}{{ .Role }}
{{- end }}<|end_of_role|>
{{- if .Content }}{{ .Content }}
{{- else if .CommandCalls }}
<|command_call|>
{{- range .CommandCalls }}
{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
{{- end }}
{{- end }}
{{- if eq (len (slice $.Messages $index)) 1 }}
{{- if eq .Role "assistant" }}
{{- else }}<|end_of_text|>
<|start_of_role|>assistant<|end_of_role|>
{{- end }}
{{- else }}<|end_of_text|>
{{ end }}
{{- end }}