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

Add Chat With Metadata Endpoint to OllamaSharp client #53

Merged

Conversation

RogerBarreto
Copy link
Contributor

When implementing Ollama Connector in Semantic Kernel was evident that lack of support for providing metadata when using the non-streaming chat endpoint as well as the different behavior of the Chat endpoint returning a list of messages including the original chathistory, different from the format received from the underlying API.

This change introduces the Chat method following the name StreamChat for non-streaming requests.

@awaescher awaescher merged commit 0785218 into awaescher:main Jul 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants