Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add DashScopeChatModel call and stream observability #96

Merged
merged 4 commits into from
Nov 9, 2024

Conversation

Cirilla-zmh
Copy link
Collaborator

@Cirilla-zmh Cirilla-zmh commented Nov 7, 2024

Add DashScopeChatModel call and stream observability so that we can trace and generate metrics for DashScopeChatModel.

@robinyeeh
Copy link
Collaborator

LGTM

Copy link
Collaborator

@chickenlj chickenlj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@chickenlj chickenlj merged commit 1a63340 into alibaba:main Nov 9, 2024
2 checks passed
@liugddx
Copy link

liugddx commented Nov 12, 2024

Why implement it here instead of contribute to spring ai?

@Cirilla-zmh
Copy link
Collaborator Author

Why implement it here instead of contribute to spring ai?

Instrumentation should be integrated with the instrumented components, so I can only provide an implementation here.
If you are wondering why the DashScope ChatModel is not implemented in Spring AI, perhaps other maintainers can provide more details.
cc @chickenlj @robinyeeh

@Cirilla-zmh Cirilla-zmh mentioned this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants