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

Microsoft Azure #177

Open
olimarferraz opened this issue Jul 18, 2024 · 2 comments
Open

Microsoft Azure #177

olimarferraz opened this issue Jul 18, 2024 · 2 comments

Comments

@olimarferraz
Copy link

 How do I integrate this package with my Azure environment? Is there an easy way to use the custom endpoint for my model?

I am using LLPhant in a Laravel project and so far everything is going very well, but due to data isolation reasons, I need to work with the model hosted in our Azure Cloud.

@MaximeThoonsen
Copy link
Collaborator

Hey @olimarferraz !

it should be easy because you can pass any client you want. see the mistral class for one example.

$clientFactory = new Factory();

$config->client = $clientFactory
                ->withApiKey($apiKey)
                ->withBaseUri(self::BASE_URL)
                ->make();

Does it help you?

@stef157
Copy link

stef157 commented Nov 3, 2024

Hi,
I think this doesn't work with the embedded models.
Any suggestions on how to deal with it ?

Thanks

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

No branches or pull requests

3 participants