fix: reverting the lancedb chnage
This commit is contained in:
parent
7b31b86f10
commit
e6ab4bbeee
1 changed files with 0 additions and 1 deletions
|
|
@ -111,7 +111,6 @@ class OllamaEmbeddingEngine(EmbeddingEngine):
|
||||||
self.endpoint, json=payload, headers=headers, timeout=60.0
|
self.endpoint, json=payload, headers=headers, timeout=60.0
|
||||||
) as response:
|
) as response:
|
||||||
data = await response.json()
|
data = await response.json()
|
||||||
print(data)
|
|
||||||
return data["embeddings"][0]
|
return data["embeddings"][0]
|
||||||
|
|
||||||
def get_vector_size(self) -> int:
|
def get_vector_size(self) -> int:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue