mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 12:07:36 +00:00
partners/ollama: release 0.2.2rc1 (#28300)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Ollama embeddings models."""
|
||||
|
||||
from typing import (
|
||||
List,
|
||||
Optional,
|
||||
@@ -133,12 +134,12 @@ class OllamaEmbeddings(BaseModel, Embeddings):
|
||||
For a full list of the params, see [this link](https://pydoc.dev/httpx/latest/httpx.Client.html)
|
||||
"""
|
||||
|
||||
_client: Client = PrivateAttr(default=None)
|
||||
_client: Client = PrivateAttr(default=None) # type: ignore
|
||||
"""
|
||||
The client to use for making requests.
|
||||
"""
|
||||
|
||||
_async_client: AsyncClient = PrivateAttr(default=None)
|
||||
_async_client: AsyncClient = PrivateAttr(default=None) # type: ignore
|
||||
"""
|
||||
The async client to use for making requests.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user