Skip to content

Mistral via Azure #1678

@pholz

Description

@pholz

Should it be possible to use a non-openAI model which is however hosted on Azure? Specifically, I would like to use Mistral, and I have it deployed on Azure already. But when running indexing, I keep getting Operation 'chat' failed errors from the fnllm package.

If I look at the model URLs, OpenAI deployments take the shape <baseURL>/openai/deployments/<deploymentname>/chat/completions?api-version=2024-08-01-preview whereas the Mistrall deployment uses <baseURL>/models/chat/completions?api-version=2024-05-01-preview. Since in the settings file I only set the baseURL, I assume that the rest of the API is somehow assumed? Or is there a way to change this too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions