semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: Add Anthropic AI Connector

Open alliscode opened this issue 1 year ago • 5 comments

alliscode avatar Jun 03 '24 20:06 alliscode

@alliscode I can pickup this task if it's still free

andrewldesousa avatar Jul 31 '24 14:07 andrewldesousa

Go for it @andrewldesousa

eavanvalkenburg avatar Aug 04 '24 07:08 eavanvalkenburg

Cool. @alliscode @eavanvalkenburg I created a draft pull request but have to finalize a few things (https://github.com/microsoft/semantic-kernel/pull/7851). Specifically, I need to make a few adjustments to the streaming functionality and complete the rest of the unit tests.

two quick questions:

  • will someone on the SK team be able to configure the Anthropic env variables used by the integration tests?
  • Anthropic uses these finish reasons which aren't the same as the finish reasons from OpenAI https://github.com/microsoft/semantic-kernel/pull/7851/files#:~:text=%23%20anthropic%20finish%20reasons,%3D%20%22tool_use%22. any other chat apis that use different finish reasons?

andrewldesousa avatar Aug 05 '24 14:08 andrewldesousa

Cool. @alliscode @eavanvalkenburg I created a draft pull request but have to finalize a few things (#7851). Specifically, I need to make a few adjustments to the streaming functionality and complete the rest of the unit tests.

two quick questions:

  • will someone on the SK team be able to configure the Anthropic env variables used by the integration tests?
  • Anthropic uses these finish reasons which aren't the same as the finish reasons from OpenAI https://github.com/microsoft/semantic-kernel/pull/7851/files#:~:text=%23%20anthropic%20finish%20reasons,%3D%20%22tool_use%22. any other chat apis that use different finish reasons?

We're tracking down an API key to be able to exercise the connector via integration tests.

moonbox3 avatar Aug 05 '24 17:08 moonbox3

Thanks, finished the streaming implementation and testing. I've moved the PR to ready for review

andrewldesousa avatar Aug 06 '24 20:08 andrewldesousa