Skip to content

Update vercel ai integration for newly aligned attributes #16572

Closed
@AbhiPrasad

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"

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions