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",
|
||||
"jina",
|
||||
"gemini",
|
||||
"voyageai",
|
||||
],
|
||||
help="Embedding binding type (default: from env or ollama)",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -854,7 +854,6 @@ def create_app(args):
|
|||
)
|
||||
return await actual_func(
|
||||
texts,
|
||||
model=model,
|
||||
api_key=api_key,
|
||||
embedding_dim=embedding_dim,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -223,4 +223,3 @@ async def claude_3_haiku_complete(
|
|||
enable_cot=enable_cot,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue