Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.49k stars 4.82k forks source link

Can I use the OpenAI client to connect to the server provided by LM Studio? #42906

Open rodrigojuarez opened 8 months ago

rodrigojuarez commented 8 months ago

Library name and version

Azure.AI.OpenAI 1.0.0-beta.13

Query/Question

LM Studio (https://lmstudio.ai/) offers an OpenAI-compatible local server, but I can't find how to configure the OpenAI client to access it. Is this possible? Are there any documentation or examples available?

Environment

Windows 11 with VS 2022 enterprise

github-actions[bot] commented 8 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.

amit10may commented 5 months ago

Any suggestions? I am also looking for the solution