How to use Azure OpenAI with FaithfulnessEvaluator #8686
-
Does anybody know how to use an Azure OpenAI deployment with the FaithfulnessEvaluator? I've tried setting the Here's how my evaluator is setup evaluator = FaithfulnessEvaluator(
api_key=Secret.from_token({AZURE_OPENAI_API_KEY}),
api_params={"api_base_url": {AZURE_OPENAI_ENDPOINT}, "model": {AZURE_OPENAI_MODEL_DEPLOYMENT}}
) However, I get a 404 error. I've also tried various different values for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @joshdawson, the For more details, please refer to the API reference. |
Beta Was this translation helpful? Give feedback.
Hi @joshdawson, the
FaithfulnessEvaluator
currently supports only the OpenAI API, so Azure OpenAI cannot be used with this component at the moment. However, you can configure a different model if that suits your needs.For more details, please refer to the API reference.