https://promptfoo.dev/ logo
Assistant for Azure
# ❓|questions
q
Hi im currently working with azure assistants. Im wondering if there is an support for that ? 👍🏼
i
Currently not supported, although high priority on the todo list: https://github.com/promptfoo/promptfoo/issues/502
q
Also is there an support for an conversation like https://www.promptfoo.dev/docs/providers/openai/#using-the-_conversation-variable for the assistants api ?
i
Azure assistant is now supported as of 0.49.0 🙂 I'll have to follow up on
_conversation
for assistants api
p
hi @ian this has broken exiting azure/openi i am getting below error now with latest update how can i fix this? npx promptfoo@latest eval --no-cache -c promptfooconfigwithmistral.yaml Cannot find module '@azure/openai-assistants' Require stack:/.npm/_npx/44960/lib/node_modules/promptfoo/dist/src/providers/azureopenai.js
I tried this as well npm i @azure/openai-assistants
Moreover its failing even if i am not using azure/openai provider
i
temp fix would be to
npm i @azure/openai-assistants
, which is a peer dependency of the azure openai provider
This PR makes the peer dependency optional unless you are using assistants specifically: . It will be in the next published release 🙂
5 Views