Closed malexanderlim closed 5 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
The pull request introduces enhancements to the retrieve-transcripts-of-calls.mjs
file, updating its version and adding new functionality. A new optional property, returnSimplifiedTranscript
, allows users to choose between detailed and simplified transcripts. Two methods, millisToTimestamp
and simplifyTranscript
, are added to support this functionality. The run
method is modified to be asynchronous, checking the new property to determine the response format. Additionally, the package version in package.json
is updated.
File | Change Summary |
---|---|
components/gong/actions/retrieve-transcripts-of-calls/retrieve-transcripts-of-calls.mjs | - Version updated from "0.0.2" to "0.0.3" - Added property returnSimplifiedTranscript (boolean) - Added methods: millisToTimestamp(millis) and simplifyTranscript(originalResponse) - Updated run method to be asynchronous and check returnSimplifiedTranscript |
components/gong/package.json | - Version updated from "0.1.1" to "0.1.2" |
callIds
prop filter for the Gong action related to retrieving transcripts of calls, which directly relates to the functionality of the retrieve-transcripts-of-calls.mjs
file in the main PR.action
In the land of calls, where transcripts flow,
A new option blooms, for details or a show.
With timestamps and names, our tales now sing,
Simplified or rich, oh what joy they bring!
So hop along, dear friends, let’s cheer and play,
For transcripts anew, brighten our day! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hi everyone, all test cases are passed! Ready for release!
Added a new optional boolean prop returnSimplifiedTranscript to the Gong Retrieve Transcripts action that transforms the raw transcript data into a human-readable format. When enabled, the output presents the conversation in a clean, chronological format with simplified speaker identification (e.g., "Speaker 1"), timestamps in [MM:SS] format, and topic markers where available. The formatted transcript only shows speaker changes when they occur and maintains proper spacing and sectioning, making it much easier to read and analyze conversation flow. This enhancement simplifies downstream use cases where transcript readability is important, while still maintaining the original API response structure when the option is disabled.
Before:
After:
Summary by CodeRabbit
New Features
returnSimplifiedTranscript
for requesting simplified call transcripts.Improvements
run
method to support asynchronous operations and improved control flow for transcript retrieval.Version Update
0.1.1
to0.1.2
.