chore/support-voyageai-embed-directly: chore: resolve comments
This commit is contained in:
parent
9afc59956f
commit
2752b01f12
3 changed files with 1 additions and 2 deletions
|
|
@ -247,6 +247,7 @@ def parse_args() -> argparse.Namespace:
|
||||||
"aws_bedrock",
|
"aws_bedrock",
|
||||||
"jina",
|
"jina",
|
||||||
"gemini",
|
"gemini",
|
||||||
|
"voyageai",
|
||||||
],
|
],
|
||||||
help="Embedding binding type (default: from env or ollama)",
|
help="Embedding binding type (default: from env or ollama)",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -854,7 +854,6 @@ def create_app(args):
|
||||||
)
|
)
|
||||||
return await actual_func(
|
return await actual_func(
|
||||||
texts,
|
texts,
|
||||||
model=model,
|
|
||||||
api_key=api_key,
|
api_key=api_key,
|
||||||
embedding_dim=embedding_dim,
|
embedding_dim=embedding_dim,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -223,4 +223,3 @@ async def claude_3_haiku_complete(
|
||||||
enable_cot=enable_cot,
|
enable_cot=enable_cot,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue