Skip to content

Update vercel ai integration for newly aligned attributes #16572

Description

@AbhiPrasad
  • Attribute naming:
    • Input:
      • ai.prompt.messages rename to → gen_ai.request.messages
    • Output:
      • ai.response.text rename to → gen_ai.response.text (type: string)
      • ai.response.toolCalls rename to → gen_ai.response.tool_calls (type: array ob objects)
      • Python: add gen_ai.response.finish_reasons (type: array)
    • AI client span should have list of available tools. (In Vercel now "ai.prompt.tools") Should be named "gen_ai.request.available_tools"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript code

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions