Skip to content

Add user_intent and agent_intent filter fields to StructuredFilter schema#324

Merged
bb220 merged 5 commits into
masterfrom
claude/eloquent-mendel-xwWNw
May 28, 2026
Merged

Add user_intent and agent_intent filter fields to StructuredFilter schema#324
bb220 merged 5 commits into
masterfrom
claude/eloquent-mendel-xwWNw

Conversation

@bb220
Copy link
Copy Markdown
Collaborator

@bb220 bb220 commented May 28, 2026

Adds user_intent and agent_intent as valid values in the StructuredFilter.field enum in the OpenAPI spec.

These are virtual fields that classify request content by tone using lexicon-based matching — no additional logging configuration is required.

user_intent — classifies the user's message

  • Valid values: frustrated, satisfied, curious

agent_intent — classifies the agent's response

  • Valid values: apologetic, refusal, uncertain

Both fields support operators: is, is_not, in, not_in

The field description in the schema has also been updated to document these intent fields and their valid values inline.


Automated docs update from merged PRs: promptlayer-app#996 (Add user and agent intents backend) and promptlayer-app#1002 (Small adjustments to Lexicons).


Generated by Claude Code

@bb220 bb220 added the automation label May 28, 2026 — with Claude
@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
promptlayer 🟢 Ready View Preview May 28, 2026, 9:20 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@bb220 bb220 merged commit bbbfcb7 into master May 28, 2026
4 checks passed
@bb220 bb220 deleted the claude/eloquent-mendel-xwWNw branch May 28, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants