We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bdad50 commit a50f56fCopy full SHA for a50f56f
src/collections/serialize/unit.test.ts
@@ -442,11 +442,14 @@ describe('Unit testing of Serialize', () => {
442
});
443
444
it('should parse args for generative', () => {
445
- const args = Serialize.generative({
446
- singlePrompt: 'test',
447
- groupedProperties: ['name'],
448
- groupedTask: 'testing',
449
- });
+ const args = Serialize.generative(
+ { supportsSingleGrouped: false },
+ {
+ singlePrompt: 'test',
+ groupedProperties: ['name'],
450
+ groupedTask: 'testing',
451
+ }
452
+ );
453
expect(args).toEqual<GenerativeSearch>({
454
singleResponsePrompt: 'test',
455
groupedProperties: ['name'],
0 commit comments