mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Add new parameters to openai and rest embedders
This commit is contained in:
parent
4235a82dcf
commit
c45ede44a8
2 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,8 @@ impl EmbedderOptions {
|
||||||
request,
|
request,
|
||||||
response,
|
response,
|
||||||
headers: Default::default(),
|
headers: Default::default(),
|
||||||
|
indexing_fragments: Default::default(),
|
||||||
|
search_fragments: Default::default(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,6 +201,8 @@ impl Embedder {
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
headers: Default::default(),
|
headers: Default::default(),
|
||||||
|
indexing_fragments: Default::default(),
|
||||||
|
search_fragments: Default::default(),
|
||||||
},
|
},
|
||||||
cache_cap,
|
cache_cap,
|
||||||
super::rest::ConfigurationSource::OpenAi,
|
super::rest::ConfigurationSource::OpenAi,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue