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

[FEATURE] Support for Azure OpenAI Fine-Tuned Models #3894

Open
alexh2b opened this issue Jan 18, 2025 · 2 comments
Open

[FEATURE] Support for Azure OpenAI Fine-Tuned Models #3894

alexh2b opened this issue Jan 18, 2025 · 2 comments
Labels
question Further information is requested

Comments

@alexh2b
Copy link

alexh2b commented Jan 18, 2025

Currently, the endpoint is hard-coded:
https://${azureOpenAIApiInstanceName}.openai.azure.com

This approach won't work with fine-tuned models.

Endpoints typically look like:
https://xxxxxxxxxx.services.ai.azure.com/

However, this could potentially change in the future.

It would be better to adopt a more flexible approach, allowing users to input the full URL.

@HenryHengZJ
Copy link
Contributor

Can you try using Custom OpenAI node and use the Base Path for your fine tuned endpoint?

@HenryHengZJ HenryHengZJ added the question Further information is requested label Jan 20, 2025
@alexh2b
Copy link
Author

alexh2b commented Jan 21, 2025

Getting:

404 Resource not found

Troubleshooting URL:
https://js.langchain.com/docs/troubleshooting/errors/MODEL_NOT_FOUND/

///

Tried as model name:

  1. the model name as displayed in the Azure dashboard
  2. Deployment name
  3. gpt-4o-mini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants