Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KavithaSiva committed Aug 8, 2024
1 parent 702b52f commit dd434c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/gen-ai-hub/src/orchestration/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './api/index.js';
export * from './orchestration-client.js';
export * from './orchestration-types.js';
export * from './orchestration-filter-utility.js';
export * from './orchestration-utility.js';
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ describe('GenAiHubClient', () => {
const filterConfig: FilteringModuleConfig = createFilterConfig(
createInputFilter({
type: 'azureContentSafety',
config: {
Hate: 2,
Violence: 4
}
config: { Hate: 4, SelfHarm: 4 }
}),
createOutputFilter({
type: 'azureContentSafety',
Expand All @@ -100,7 +97,6 @@ describe('GenAiHubClient', () => {
}
})
);

const mockResponse = parseMockResponse<CompletionPostResponse>(
'orchestration',
'genaihub-chat-completion-filter-config.json'
Expand Down

0 comments on commit dd434c6

Please sign in to comment.