Skip to content

Commit

Permalink
reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarthi Iyer authored and Aarthi Iyer committed Dec 3, 2024
1 parent cd57942 commit 307bde9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion weaviate_cli/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,15 @@ def create() -> None:
"--vectorizer",
default=CreateCollectionDefaults.vectorizer,
type=click.Choice(
["contextionary", "transformers", "openai", "ollama", "cohere", "jinaai", "weaviate"]
[
"contextionary",
"transformers",
"openai",
"ollama",
"cohere",
"jinaai",
"weaviate",
]
),
help="Vectorizer to use.",
)
Expand Down
2 changes: 1 addition & 1 deletion weaviate_cli/managers/collection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def create_collection(
),
"cohere": wvc.Configure.Vectorizer.text2vec_cohere(),
"jinaai": wvc.Configure.Vectorizer.text2vec_jinaai(),
"weaviate": wvc.Configure.Vectorizer.text2vec_weaviate()
"weaviate": wvc.Configure.Vectorizer.text2vec_weaviate(),
}

inverted_index_map: Dict[str, wvc.InvertedIndexConfig] = {
Expand Down

0 comments on commit 307bde9

Please sign in to comment.