commit 100114f6d028ea0ae19707563b50be2de631d31b Author: Adil Hafeez Date: Tue Jul 9 13:36:17 2024 -0700 initial commit diff --git a/envoyfilter/Cargo.lock b/envoyfilter/Cargo.lock new file mode 100644 index 00000000..eb09703b --- /dev/null +++ b/envoyfilter/Cargo.lock @@ -0,0 +1,3 @@ +[[package]] +name = "intelligent-prompt-gateway" +version = "0.1.0" diff --git a/envoyfilter/Cargo.toml b/envoyfilter/Cargo.toml new file mode 100644 index 00000000..df895f41 --- /dev/null +++ b/envoyfilter/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "intelligent-prompt-gateway" +version = "0.1.0" +authors = ["Katanemo Inc "] +edition = "2018" + +[dependencies] diff --git a/envoyfilter/README.md b/envoyfilter/README.md new file mode 100644 index 00000000..d3644c91 --- /dev/null +++ b/envoyfilter/README.md @@ -0,0 +1 @@ +A open source project for developers to build and secure faster, more personalized generative AI apps. Katanemo is a high performance gateway designed with state of the art (SOTA) fast LLMs to process, route and evaluate prompts. diff --git a/envoyfilter/src/main.rs b/envoyfilter/src/main.rs new file mode 100644 index 00000000..98aa8079 --- /dev/null +++ b/envoyfilter/src/main.rs @@ -0,0 +1,17 @@ +fn main() { + println!("Hello, world!\nMy favourite number is {}", some_fn()); +} + +fn some_fn() -> i32 { + 42 +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn some_fn_is_42() { + assert_eq!(some_fn(), 42); + } +} diff --git a/gateway.code-workspace b/gateway.code-workspace new file mode 100644 index 00000000..b9cf62c5 --- /dev/null +++ b/gateway.code-workspace @@ -0,0 +1,17 @@ +{ + "folders": [ + { + "name": "root", + "path": "." + }, + { + "name": "envoyfilter", + "path": "envoyfilter" + }, + { + "name": "demos", + "path": "./demos" + }, + ], + "settings": {} +} \ No newline at end of file