mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Add custom headers for REST embedder
This commit is contained in:
parent
22ef2d877f
commit
4654d51e05
6 changed files with 48 additions and 1 deletions
|
@ -41,6 +41,7 @@ impl Embedder {
|
|||
response: serde_json::json!({
|
||||
"embedding": super::rest::RESPONSE_PLACEHOLDER,
|
||||
}),
|
||||
headers: Default::default(),
|
||||
},
|
||||
super::rest::ConfigurationSource::Ollama,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue