Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 7345d85

Browse files
committed
Release 0.9.1
1 parent 596609e commit 7345d85

7 files changed

Lines changed: 278 additions & 178 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## [0.9.1](https://github.com/speechly/api/tree/0.9.1) (2023-08-07)
4+
5+
[Full Changelog](https://github.com/speechly/api/compare/0.9.0...0.9.1)
6+
7+
**Merged pull requests:**
8+
9+
- Add priority field to batch\_api config message [\#86](https://github.com/speechly/api/pull/86) ([langma](https://github.com/langma))
10+
- Update iOS dependencies [\#85](https://github.com/speechly/api/pull/85) ([thisismatu](https://github.com/thisismatu))
11+
- Bump @grpc/grpc-js from 1.3.7 to 1.8.17 in /javascript [\#84](https://github.com/speechly/api/pull/84) ([dependabot[bot]](https://github.com/apps/dependabot))
12+
- Bump grpc-protobuf from 1.43.2 to 1.53.0 in /java [\#83](https://github.com/speechly/api/pull/83) ([dependabot[bot]](https://github.com/apps/dependabot))
13+
- Bump Grpc.Net.Client from 2.35.0 to 2.52.0 in /dotnet [\#82](https://github.com/speechly/api/pull/82) ([dependabot[bot]](https://github.com/apps/dependabot))
14+
- Update iOS dependencies [\#81](https://github.com/speechly/api/pull/81) ([langma](https://github.com/langma))
15+
316
## [0.9.0](https://github.com/speechly/api/tree/0.9.0) (2023-05-24)
417

518
[Full Changelog](https://github.com/speechly/api/compare/0.8.17...0.9.0)

Sources/SpeechlyAPI/speechly_slu_v2_batch.pb.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ public struct Speechly_Slu_V2_BatchConfig {
8787
/// Optional.
8888
public var batchReference: String = String()
8989

90+
/// Priority for the operation. Operations are processed in the order they are
91+
/// created, but higher priority operations are processed before the lower
92+
/// priority operations.
93+
/// Optional, defaults to 0 (normal priority).
94+
public var priority: Int32 = 0
95+
9096
/// Additional batch specific options.
9197
/// Optional.
9298
public var options: [Speechly_Slu_V2_Option] = []
@@ -660,6 +666,7 @@ extension Speechly_Slu_V2_BatchConfig: SwiftProtobuf.Message, SwiftProtobuf._Mes
660666
1: .standard(proto: "model_id"),
661667
2: .standard(proto: "language_codes"),
662668
4: .standard(proto: "batch_reference"),
669+
6: .same(proto: "priority"),
663670
5: .same(proto: "options"),
664671
]
665672

@@ -673,6 +680,7 @@ extension Speechly_Slu_V2_BatchConfig: SwiftProtobuf.Message, SwiftProtobuf._Mes
673680
case 2: try { try decoder.decodeRepeatedStringField(value: &self.languageCodes) }()
674681
case 4: try { try decoder.decodeSingularStringField(value: &self.batchReference) }()
675682
case 5: try { try decoder.decodeRepeatedMessageField(value: &self.options) }()
683+
case 6: try { try decoder.decodeSingularInt32Field(value: &self.priority) }()
676684
default: break
677685
}
678686
}
@@ -691,13 +699,17 @@ extension Speechly_Slu_V2_BatchConfig: SwiftProtobuf.Message, SwiftProtobuf._Mes
691699
if !self.options.isEmpty {
692700
try visitor.visitRepeatedMessageField(value: self.options, fieldNumber: 5)
693701
}
702+
if self.priority != 0 {
703+
try visitor.visitSingularInt32Field(value: self.priority, fieldNumber: 6)
704+
}
694705
try unknownFields.traverse(visitor: &visitor)
695706
}
696707

697708
public static func ==(lhs: Speechly_Slu_V2_BatchConfig, rhs: Speechly_Slu_V2_BatchConfig) -> Bool {
698709
if lhs.modelID != rhs.modelID {return false}
699710
if lhs.languageCodes != rhs.languageCodes {return false}
700711
if lhs.batchReference != rhs.batchReference {return false}
712+
if lhs.priority != rhs.priority {return false}
701713
if lhs.options != rhs.options {return false}
702714
if lhs.unknownFields != rhs.unknownFields {return false}
703715
return true

cpp/Speechly/speechly/slu/v2/batch.pb.cc

Lines changed: 83 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cpp/Speechly/speechly/slu/v2/batch.pb.h

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/batch/speechly.slu.v2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Describes the configuration options common for the input batch.
4040
| model_id | string | ID of the language model to use when processing the audio.<br/>Optional. If not provided, the model to use will be determined<br/>from the login information or from language detection. |
4141
| language_codes | string | The language(s) of the audio sent in the request as a BCP-47 language tag<br/>(e.g. "en-US"). Defaults to the target application language(s).<br/>Optional. |
4242
| batch_reference | string | Reference id for a set of related operations. For example an identifier of<br/>the source system.<br/>Optional. |
43+
| priority | int32 | Priority for the operation. Operations are processed in the order they are<br/>created, but higher priority operations are processed before the lower<br/>priority operations.<br/>Optional, defaults to 0 (normal priority). |
4344
| options | [Option](#option) | Additional batch specific options.<br/>Optional. |
4445

4546

0 commit comments

Comments
 (0)