For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Send Fireworks AI traffic to Agent Analytics
このページはまだあなたの言語に翻訳されていません。 現在取り組んでいますので、後でもう一度確認してください。
Fireworks AI traffic can reach Agent Analytics two ways: through the AI SDK wrapping Fireworks' OpenAI-compatible client, or through OTLP traces that Fireworks exports. Both produce the same [Agent] events.
AI SDK wrap
Point the OpenAI-compatible client at https://api.fireworks.ai/inference/v1 and wrap it with Python amplitude-ai or Node @amplitude/ai. Refer to Instrument your agent with the AI SDK.
- The SDK captures the Router request ID as
[Agent] Provider Request ID. - The SDK doesn't send Fireworks'
x-multi-turn-session-idheader automatically.
Fireworks-managed OTLP
When Fireworks exports traces, send them to the US or EU OTLP endpoint with your Amplitude project API key. Refer to Configure your exporter. Amplitude doesn't require an enablement request.
Fireworks must persist these values through every Router route:
user- A conversation or session ID
gen_ai.response.id
これは役に立ちましたか?