refac
This commit is contained in:
1 parent
a18292da84
commit
44efd4d372
2 files changed
+2
-2
No files matched your search
@@ -429,7 +429,7 @@ def generate_openai_batch_embeddings(
|
||||
|
||||
|
||||
def generate_ollama_batch_embeddings(
|
||||
model: str, texts: list[str], url: str, key: str
|
||||
model: str, texts: list[str], url: str, key: str = ""
|
||||
) -> Optional[list[list[float]]]:
|
||||
try:
|
||||
r = requests.post(
|
||||
|
||||
Reference in new issue
Block a user