Skip to content

Commit 9330a35

Browse files
authored
🍱 Consolidate the caikit nlp protos (#6)
This PR uses the latest caikit release to consolidate all the proto files together so there is only one file per proto package. This should make them much more wieldy to distribute and use for client generation. The content of the files should remain unchanged. NB: I did not include the training service file here, since I don't think this router intends on routing training api calls. --------- Signed-off-by: Joe Runde <[email protected]>
1 parent abf31c0 commit 9330a35

File tree

85 files changed

+757
-1519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+757
-1519
lines changed

fmaas-router/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
88
.out_dir("src/pb")
99
.include_file("mod.rs")
1010
.compile(
11-
&["../proto/generation.proto", "../proto/nlpservice.proto"],
11+
&["../proto/generation.proto", "../proto/caikit_runtime_Nlp.proto"],
1212
&["../proto"],
1313
)
1414
.unwrap_or_else(|e| panic!("protobuf compilation failed: {}", e));

proto/caikit.runtime.Nlp.bidistreamingtokenclassificationtaskrequest.proto

Lines changed: 0 additions & 17 deletions
This file was deleted.

proto/caikit.runtime.Nlp.datastreamsourcegenerationtrainrecord.proto

Lines changed: 0 additions & 29 deletions
This file was deleted.

proto/caikit.runtime.Nlp.datastreamsourcegenerationtrainrecordjsondata.proto

Lines changed: 0 additions & 17 deletions
This file was deleted.

proto/caikit.runtime.Nlp.embeddingtaskrequest.proto

Lines changed: 0 additions & 17 deletions
This file was deleted.

proto/caikit.runtime.Nlp.embeddingtasksrequest.proto

Lines changed: 0 additions & 17 deletions
This file was deleted.

proto/caikit.runtime.Nlp.reranktaskrequest.proto

Lines changed: 0 additions & 23 deletions
This file was deleted.

proto/caikit.runtime.Nlp.reranktasksrequest.proto

Lines changed: 0 additions & 23 deletions
This file was deleted.

proto/caikit.runtime.Nlp.sentencesimilaritytaskrequest.proto

Lines changed: 0 additions & 18 deletions
This file was deleted.

proto/caikit.runtime.Nlp.sentencesimilaritytasksrequest.proto

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)