[Observability] Update required field from 'score' to 'scores' (#203584)

Closes #203739

## Summary

fix error: `“Error scoring documents: Tool call arguments for score were
invalid”`

[Observability] Update required field from 'score' to 'scores' in
scoreSuggestions schema
This commit is contained in:
Arturo Lidueña 2024-12-17 17:33:40 +01:00 committed by GitHub
parent 2c5544cfc8
commit 1b52848c5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ export async function scoreSuggestions({
type: 'string',
},
},
required: ['score'],
required: ['scores'],
} as const,
};