-
[OPIK-2807] Vercel AI npm package integration (#3771)
发布于
2025-10-24 13:28:19 +00:00 - [OPIK-2807] Extract Vercel integration to standalone npm package
- Move Vercel AI SDK integration from main SDK to opik-vercel package
- Remove ./vercel export from main SDK package.json
- Remove Vercel devDependencies from main SDK
- Update README to reference integration packages
- Add opik-vercel to GitHub Actions publish workflow
- Delete old examples/ai-sdk-integration.ts and tests/ai-sdk.test.ts
- Revision 2: Fix opik-vercel README examples to match documentation
- Update Node.js example to include OpenTelemetry SDK setup with NodeSDK
- Add Next.js example with instrumentation.ts pattern
- Add environment variables configuration section
- Update installation commands to include all required dependencies
- Add debugging section with OPIK_LOG_LEVEL
- Add link to official integration guide
- Revision 3: Update documentation to use opik-vercel package
- Change import from 'opik/vercel' to 'opik-vercel' in all docs
- Update installation commands to include opik-vercel package
- Update vercel-ai-sdk.mdx integration documentation
- Update log_traces.mdx quickstart integration examples
- Update quickstart.mdx integration examples
- Revision 4: Exclude opik-vercel from main SDK build configs
- Remove opik/vercel path alias from tsconfig.json
- Add opik-vercel to excluded directories in tsconfig.json
- Add opik-vercel to eslint ignores
Co-authored-by: GitHub Actions Bot github-actions@comet.com
下载附件