Add base code and examples for the Vertex API

- Add base code for the Vertex API with types and a client with helper
  methods for prompting text and conversation.
- Add examples for prompting text and conversation.
This commit is contained in:
2024-02-06 20:50:36 +00:00
parent 995d2537b9
commit 67c6ba878b
10 changed files with 530 additions and 9 deletions

12
src/lib.rs Normal file
View File

@@ -0,0 +1,12 @@
mod conversation;
pub mod error;
mod token_provider;
mod types;
mod vertex_client;
pub mod prelude {
pub use crate::conversation::*;
pub use crate::token_provider::*;
pub use crate::types::*;
pub use crate::vertex_client::*;
}