Skip to content

Commit e303b87

Browse files
authored
Merge pull request #24108 from I321506/minor_orch_fix
Minor orch fix
2 parents 61fbccc + d344e61 commit e303b87

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

tutorials/ai-core-orchestration-consumption-opt/ai-core-orchestration-consumption-opt.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,9 @@ Navigate to the Model Configuration section and:
663663
[OPTION BEGIN [Python SDK]]
664664

665665
```python
666+
from gen_ai_hub.orchestration.models.content_filtering import ContentFiltering,InputFiltering, OutputFiltering
667+
from gen_ai_hub.orchestration.models.azure_content_filter import AzureContentFilter, AzureThreshold
668+
from gen_ai_hub.orchestration.models.llama_guard_3_filter import LlamaGuard38bFilter
666669

667670
input_filter= AzureContentFilter(hate=AzureThreshold.ALLOW_SAFE,
668671
violence=AzureThreshold.ALLOW_SAFE,

tutorials/ai-core-orchestration-consumption/ai-core-orchestration-consumption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ async function generateResponsesForModels(cvContent: string) {
911911
temperature: 0.6,
912912
},
913913
},
914-
template: templatingConfig
914+
templating: templatingConfig
915915
},
916916
{ resourceGroup: RESOURCE_GROUP }
917917
);

0 commit comments

Comments
 (0)