mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 15:43:54 +00:00
community[patch]: infinity embeddings update incorrect default url (#16759)
The default url has always been incorrect (7797 instead 7997). Here is a update to the correct url.
This commit is contained in:
parent
df7cbd6fbb
commit
e1cfd0f3e7
@ -28,14 +28,14 @@ class InfinityEmbeddings(BaseModel, Embeddings):
|
|||||||
from langchain_community.embeddings import InfinityEmbeddings
|
from langchain_community.embeddings import InfinityEmbeddings
|
||||||
InfinityEmbeddings(
|
InfinityEmbeddings(
|
||||||
model="BAAI/bge-small",
|
model="BAAI/bge-small",
|
||||||
infinity_api_url="http://localhost:7797/v1",
|
infinity_api_url="http://localhost:7997",
|
||||||
)
|
)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
model: str
|
model: str
|
||||||
"Underlying Infinity model id."
|
"Underlying Infinity model id."
|
||||||
|
|
||||||
infinity_api_url: str = "http://localhost:7797/v1"
|
infinity_api_url: str = "http://localhost:7997"
|
||||||
"""Endpoint URL to use."""
|
"""Endpoint URL to use."""
|
||||||
|
|
||||||
client: Any = None #: :meta private:
|
client: Any = None #: :meta private:
|
||||||
|
Loading…
Reference in New Issue
Block a user