Skip to content
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

[HOTFIX] Update prompt strategy in Ollama chat API. #206

Merged
merged 4 commits into from
May 11, 2024

Conversation

DavdGao
Copy link
Collaborator

@DavdGao DavdGao commented May 9, 2024

Description

In Ollama chat API, still, the roles of messages should be alternative (user and assistant).

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

Copy link
Collaborator

@garyzhang99 garyzhang99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the inline comment, others LGTM

docs/sphinx_doc/en/source/tutorial/206-prompt.md Outdated Show resolved Hide resolved
@DavdGao DavdGao merged commit 9d4a1bb into modelscope:main May 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: ollama prompt strategy doesn't support conversation with multiple participants.
2 participants