Skip to content

Commit

Permalink
🍱 Consolidate the caikit nlp protos (#6)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
joerunde committed Apr 1, 2024
1 parent abf31c0 commit 9330a35
Show file tree
Hide file tree
Showing 85 changed files with 757 additions and 1,519 deletions.
2 changes: 1 addition & 1 deletion fmaas-router/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.out_dir("src/pb")
.include_file("mod.rs")
.compile(
&["../proto/generation.proto", "../proto/nlpservice.proto"],
&["../proto/generation.proto", "../proto/caikit_runtime_Nlp.proto"],
&["../proto"],
)
.unwrap_or_else(|e| panic!("protobuf compilation failed: {}", e));
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions proto/caikit.runtime.Nlp.embeddingtaskrequest.proto

This file was deleted.

17 changes: 0 additions & 17 deletions proto/caikit.runtime.Nlp.embeddingtasksrequest.proto

This file was deleted.

23 changes: 0 additions & 23 deletions proto/caikit.runtime.Nlp.reranktaskrequest.proto

This file was deleted.

23 changes: 0 additions & 23 deletions proto/caikit.runtime.Nlp.reranktasksrequest.proto

This file was deleted.

18 changes: 0 additions & 18 deletions proto/caikit.runtime.Nlp.sentencesimilaritytaskrequest.proto

This file was deleted.

18 changes: 0 additions & 18 deletions proto/caikit.runtime.Nlp.sentencesimilaritytasksrequest.proto

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions proto/caikit.runtime.Nlp.textclassificationtaskrequest.proto

This file was deleted.

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions proto/caikit.runtime.Nlp.textgenerationtaskrequest.proto

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions proto/caikit.runtime.Nlp.tokenclassificationtaskrequest.proto

This file was deleted.

Loading

0 comments on commit 9330a35

Please sign in to comment.