Skip to content

Fix prompts for audiollm for misrepresenting_tool_result and information_loss#187

Merged
katstankiewicz merged 2 commits into
mainfrom
update-faithfulnessmetric-audiollm
Jul 16, 2026
Merged

Fix prompts for audiollm for misrepresenting_tool_result and information_loss#187
katstankiewicz merged 2 commits into
mainfrom
update-faithfulnessmetric-audiollm

Conversation

@katstankiewicz

Copy link
Copy Markdown
Collaborator
  • bug where judge was told that the output of audio llm was the users transcription when it is the actual llm output.
    • information_loss and misrepresenting_tool_result implied that the text was a transcript for audio llm so to not judge if mistakes are made, but this is inaccurate for audio llms since it is the actual output. If the output is incorrect assume it is a model issue
  • Faithfulness - removed "The bar for disambiguation is higher than for a text-based system because the assistant knows it is working from audio and should anticipate mishearings." because it is ambiguous

@katstankiewicz katstankiewicz changed the title Fix prompts for s2s and audiollm Fix prompts for audiollm for misrepresenting_tool_result and information_loss Jul 15, 2026
Comment thread src/eva/metrics/base.py
carve-outs, the assistant-turns disclaimer) must gate on this, not on
``is_audio_native``.
"""
return self.pipeline_type == PipelineType.S2S

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That won't match ElevenLabs agents that is marked as s2s, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we switch elevenlabs agents pipeline type to cascade earlier in the process so it is cascade when it reaches here

Comment thread tests/unit/metrics/test_faithfulness.py Outdated
assert "STT transcriptions of the agent" not in variables["assistant_turns_disclaimer"]
assert "intended text" in variables["assistant_turns_disclaimer"]

def test_disambiguation_context_drops_comparative_bar(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is a bit weird to me - I don't think we need to test its not longer there.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah good point! i'll remove

@gabegma gabegma left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you!! I wanted to do the change from audio_native to s2s for some time now for those 2 metrics for the assistant turns only, this is perfect 👌

@katstankiewicz
katstankiewicz added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit 28d01ab Jul 16, 2026
2 checks passed
@katstankiewicz
katstankiewicz deleted the update-faithfulnessmetric-audiollm branch July 16, 2026 15:35
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

Successfully merging this pull request may close these issues.

3 participants