mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-18 19:44:21 +00:00
feat: add embedder
This commit is contained in:
@@ -100,7 +100,6 @@ class ProviderAPIRequester(metaclass=abc.ABCMeta):
|
||||
|
||||
async def invoke_embedding(
|
||||
self,
|
||||
query: core_entities.Query,
|
||||
model: RuntimeEmbeddingModel,
|
||||
input_text: str,
|
||||
extra_args: dict[str, typing.Any] = {},
|
||||
|
||||
@@ -144,7 +144,6 @@ class OpenAIChatCompletions(requester.ProviderAPIRequester):
|
||||
|
||||
async def invoke_embedding(
|
||||
self,
|
||||
query: core_entities.Query,
|
||||
model: requester.RuntimeEmbeddingModel,
|
||||
input_text: str,
|
||||
extra_args: dict[str, typing.Any] = {},
|
||||
|
||||
Reference in New Issue
Block a user