Skip to content

Commit c5112a8

Browse files
committed
cleanups
1 parent 5d49c3b commit c5112a8

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

llm/ollama/src/client.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,6 @@ pub struct CompletionsRequest {
177177
pub keep_alive: Option<String>,
178178
}
179179

180-
#[derive(Debug, Serialize, Deserialize, Clone)]
181-
pub struct Format {
182-
#[serde(rename = "type")]
183-
pub format_type: String,
184-
pub properties: serde_json::Value,
185-
}
186-
187180
#[derive(Debug, Serialize, Deserialize, Clone)]
188181
pub struct MessageRequest {
189182
pub role: MessageRole,

search/meilisearch/src/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ impl MeilisearchApi {
308308
parse_response(response)
309309
}
310310

311+
#[allow(unused)]
311312
pub fn get_documents(
312313
&self,
313314
index_uid: &str,

search/typesense/src/client.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ impl TypesenseSearchApi {
8383
parse_response(response)
8484
}
8585

86+
#[allow(unused)]
8687
pub fn index_document(
8788
&self,
8889
collection_name: &str,
@@ -250,6 +251,7 @@ impl TypesenseSearchApi {
250251
Ok(params.join("&"))
251252
}
252253

254+
#[allow(unused)]
253255
pub fn multi_search(
254256
&self,
255257
searches: &MultiSearchQuery,

0 commit comments

Comments
 (0)