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

Python: semantic_kernel.connectors.ai.open_ai.OpenAIChatCompletion is missing endpoint property

Open madsbolaris opened this issue 1 year ago • 2 comments

In .NET, when constructing an OpenAIChatCompletion, you can provide an optional endpoint property to connect to local models and other services that use the OpenAI API specification.

madsbolaris avatar May 12 '24 19:05 madsbolaris

@TaoChenOSU I believe this can be closed with the work you are doing to support local models on python. Can you verify?

alliscode avatar Jul 01 '24 18:07 alliscode

Yes, there is not an endpoint argument to the connector, but you can provide a custom client.

I will link the PR to this issue.

TaoChenOSU avatar Jul 01 '24 19:07 TaoChenOSU