Describe a bring-your-own Azure OpenAI resource for groundedness
Source:R/groundedness.R
foundry_llm_resource.RdBuild the llm_resource argument for foundry_groundedness(). Reasoning and
correction both rely on an Azure OpenAI GPT-4o deployment that Content Safety
calls on your behalf. The service currently accepts only GPT-4o versions 0513
and 0806. This bring-your-own-LLM feature is deprecated and will be removed
in a future release.
Examples
foundry_llm_resource(
endpoint = "https://your-openai.openai.azure.com",
deployment_name = "gpt-4o"
)
#> Warning: `foundry_llm_resource()` was deprecated in foundryR 1.0.0.
#> ℹ This feature requires an Azure OpenAI GPT-4o deployment (the service
#> currently accepts only GPT-4o versions 0513 and 0806) and will be removed in
#> a future release; the core groundedness check (ungrounded detection and
#> percentage) stays.
#> $resourceType
#> [1] "AzureOpenAI"
#>
#> $azureOpenAIEndpoint
#> [1] "https://your-openai.openai.azure.com"
#>
#> $azureOpenAIDeploymentName
#> [1] "gpt-4o"
#>