anoushkaramesh
01/24/2024, 10:47 AMian
01/24/2024, 4:03 PMdefaultTest.options in `promptfooconfig.yaml`:
yaml
defaultTest:
options:
provider:
text:
id: azureopenai:chat:gpt-4-deployment
config:
apiHost: xxx.openai.azure.com
embedding:
id: azureopenai:embeddings:text-embedding-ada-002-deployment
config:
apiHost: xxx.openai.azure.com
llm-rubric uses the text provider, similarity uses the embedding provider. This example is for Azure, but it will work for any providers you choose.anoushkaramesh
01/24/2024, 4:21 PM