Open HApolonio opened 6 days ago
Sorry, I am not familiar with Azure API capabilities. It def works with OpenAI. Someone else will need to take to answer this one.
So, this project is not following the implementation from here? https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
The endpoint that I'm trying to use in Auto-Playwright is something like this:
https://<my-resource>.openai.azure.com/openai/deployments/<my-deployment>/chat/completions?api-version=2024-02-01
This is exactly the type of URL that you have on the ReadMe file 🤔
@roberto-mardeni might be a better person to ask, as he contributed the PR that added that logic.
I'm trying to implement some proof-of-concept tests with Auto-Playwright and our company's generative AI chat (based on ChatGPT 3.5), but I'm getting some wierd errors parsing the response.
model: ChatGPT3.5-turbo api-version: 2024-02-01
When I invoke auto with a simple prompt like
Click the "Click me" button
, I'm getting a test error because the response does not have a _functioncall with "result".Is the latest version of Auto really compatible with Open AI Azure API 2024-02-01?
Sample request:
Sample response:
⚠ Notice the
javascript
block instead of thefunction_call
that the code expects.Has anyone else faced this issue?