Skip to content

Failing to evaluate my RAG with = Azure (generate_testset) error :The API deployment for this resource does not exist . on a working deployment #1991

Answered by henchaves
shayefarti asked this question in Q&A
Discussion options

You must be logged in to vote

You can add this code snippet before calling generate_testset

from openai import AzureOpenAI
from giskard.llm.embeddings.openai import OpenAIEmbedding
from giskard.llm.embeddings import set_default_embedding

set_default_embedding(OpenAIEmbedding(client=AzureOpenAI(), model="text-embedding-3-large"))

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@shayefarti
Comment options

@henchaves
Comment options

@shayefarti
Comment options

@henchaves
Comment options

Answer selected by henchaves
@shayefarti
Comment options

@henchaves
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants