Skip to content

Context Aware Scorers OpenAI Chat-Completions Support #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vMaroon opened this issue May 4, 2025 · 0 comments
Open

Context Aware Scorers OpenAI Chat-Completions Support #111

vMaroon opened this issue May 4, 2025 · 0 comments
Assignees

Comments

@vMaroon
Copy link
Member

vMaroon commented May 4, 2025

Summary

In the current codebase, context-aware scorers refer to the body.prompt field to get the user-prompt. This fits Completions API. For Chat-Completions the "prompt" is structured inside body.messages.

Completion Criteria

In the Chat-Completions case, body.messages should be flattened similarly to how the downstream vLLM engine receives it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant