Skip to content

Conversation

@ConstantinChirila
Copy link

Description

This PR adds comprehensive support for the Dapr Conversation API to the JavaScript SDK, enabling developers to interact with Large Language Models (LLMs) through Dapr's conversation components. The implementation includes both HTTP and gRPC protocols, complete type definitions, and a working example.

Issue reference

#706

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@ConstantinChirila ConstantinChirila requested review from a team as code owners August 7, 2025 12:28
@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-1.16@26b3527). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-1.16     #712   +/-   ##
===============================================
  Coverage                ?   54.84%           
===============================================
  Files                   ?       14           
  Lines                   ?      330           
  Branches                ?       66           
===============================================
  Hits                    ?      181           
  Misses                  ?      131           
  Partials                ?       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ConstantinChirila ConstantinChirila force-pushed the add-conversation-sdk-api-706 branch 3 times, most recently from 9e321f0 to 33ece85 Compare August 8, 2025 11:10
Generated new protos for 1.16

Signed-off-by: Whit Waldo <[email protected]>
Copy link
Contributor

@WhitWaldo WhitWaldo left a comment

Choose a reason for hiding this comment

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

This looks great - thank you for putting all of this together. I just updated the protos to 1.16 on the repo in master. Could you update your PR to ensure all the test pass so we can merge this in for the release?

Thank you!

@WhitWaldo
Copy link
Contributor

One more thought - I don't think we need both an HTTP and a gRPC implementation as the SDK need only do one of them (typically preferring gRPC as it's typically the more complicated one).

Signed-off-by: Constantin Chirila <[email protected]>
Signed-off-by: Constantin Chirila <[email protected]>
@ConstantinChirila ConstantinChirila force-pushed the add-conversation-sdk-api-706 branch 3 times, most recently from 9197d9a to e46b472 Compare August 14, 2025 11:14
@ConstantinChirila
Copy link
Author

ConstantinChirila commented Aug 14, 2025

One more thought - I don't think we need both an HTTP and a gRPC implementation as the SDK need only do one of them (typically preferring gRPC as it's typically the more complicated one).

So should I remove the HTTP implementation?

Signed-off-by: Constantin Chirila <[email protected]>
Copy link
Contributor

@WhitWaldo WhitWaldo left a comment

Choose a reason for hiding this comment

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

Looks good to me - thank you very much for putting this together!

@WhitWaldo WhitWaldo merged commit efb0dc2 into dapr:release-1.16 Aug 26, 2025
8 checks passed
@marcduiker
Copy link
Contributor

@holopin-bot @ConstantinChirila Thank you! Here's a digital badge as a small token of appreciation.

@holopin-bot
Copy link

holopin-bot bot commented Nov 18, 2025

Congratulations @ConstantinChirila, the maintainer of this repository has issued you a badge! Here it is: https://holopin.io/claim/cmi4hugl40003if045jz82xxs

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

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.

3 participants