Remove OMF (#78)

* Remove OMF

* remove submodule from github workflow
This commit is contained in:
Adil Hafeez 2024-09-24 15:18:20 -07:00 committed by GitHub
parent 685144bbd7
commit 87900beddd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 252 additions and 2135 deletions

View file

@ -1,9 +1,4 @@
use http::StatusCode;
use open_message_format_embeddings::models::{
create_embedding_response::{self, CreateEmbeddingResponse},
create_embedding_response_usage::CreateEmbeddingResponseUsage,
embedding, Embedding,
};
use proxy_wasm_test_framework::tester::{self, Tester};
use proxy_wasm_test_framework::types::{
Action, BufferType, LogLevel, MapType, MetricType, ReturnType,
@ -12,6 +7,10 @@ use public_types::common_types::{
open_ai::{ChatCompletionsResponse, Choice, Message, Usage},
BoltFCToolsCall, IntOrString, ToolCallDetail,
};
use public_types::embeddings::embedding::Object;
use public_types::embeddings::{
create_embedding_response, CreateEmbeddingResponse, CreateEmbeddingResponseUsage, Embedding,
};
use public_types::{common_types::ZeroShotClassificationResponse, configuration::Configuration};
use serial_test::serial;
use std::collections::HashMap;
@ -93,7 +92,7 @@ fn normal_flow(module: &mut Tester, filter_context: i32, http_context: i32) {
data: vec![Embedding {
index: 0,
embedding: vec![],
object: embedding::Object::default(),
object: Object::default(),
}],
model: String::from("test"),
object: create_embedding_response::Object::default(),