Skip to content

Context Aware Scorers OpenAI Chat-Completions Support #111

Open
@vMaroon

Description

@vMaroon

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions