Skip to content

Commit

Permalink
[Observability] Update required field from 'score' to 'scores' (elast…
Browse files Browse the repository at this point in the history
…ic#203584)

Closes elastic#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
  • Loading branch information
arturoliduena authored Dec 17, 2024
1 parent 2c5544c commit 1b52848
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export async function scoreSuggestions({
type: 'string',
},
},
required: ['score'],
required: ['scores'],
} as const,
};

Expand Down

0 comments on commit 1b52848

Please sign in to comment.