In the readme: d, err := c.Send(&anthropic.Opts{ Message: data.MessageModule{ Human: "Do you know Golang, please answer me in the shortest possible way.", }, Sender: anthropic.Sender{MaxToken: 1200}, })
But after intial setup, anthropic.Sender is undefined. Had to replace with resp.Sender. Maybe i am missing something though?
When interacting with LLMs, system prompts help guide them into a desired persona. Currently, there's only Human and Assistant message role types, but no System one.
Solution
System messages should be added into the library.
Alternatives
Alternatively, I've tried injecting my system prompts into the initial user message.