v1.3.0
What's Changed
- Sync from internal repo (2024-03-06) by @marcusolsson in #13
New Features
Support for word search
resp, _ := client.Transcripts.WordSearch(ctx, "TRANSCRIPT_ID", []string{"hopkins", "wildfires"})
for _, match := range resp.Matches {
fmt.Println(aai.ToString(match.Text), match.Timestamps, aai.ToInt64(match.Count))
}
Support for purging LeMUR request data
result, _ := client.LeMUR.Task(ctx, params)
response, _ := client.LeMUR.PurgeRequestData(ctx, aai.ToString(result.RequestID))
if aai.ToBool(response.Deleted) {
fmt.Println("Successfully deleted request data")
}
Bug Fixes
- Change the type of the
Context
field inLeMURBaseParams
fromjson.RawMessage
tointerface{}
Enhancements
- Send real-time audio samples as binary data instead of base64.
Full Changelog: v1.2.0...v1.3.0