-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert roles in Messages to seperate class #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the ChatRole class in the Azure OpenAi package
There its basically an Enum which you can put in, and then internally when its evaluated, its just being converted back to a string.
This makes the usage on the dev side much easier, since you dont have to google which ones are available first...
See here: https://github.com/jmorganca/ollama/blob/main/docs/api.md#generate-a-chat-completion
For the available roles...
The text was updated successfully, but these errors were encountered: