mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 10:13:29 +00:00
langchain[patch]: Remove beta decorator from init_embeddings (#31098)
Remove beta decorator from init_embeddings.
This commit is contained in:
parent
94139ffcd3
commit
4da525bc63
@ -2,7 +2,6 @@ import functools
|
|||||||
from importlib import util
|
from importlib import util
|
||||||
from typing import Any, Optional, Union
|
from typing import Any, Optional, Union
|
||||||
|
|
||||||
from langchain_core._api import beta
|
|
||||||
from langchain_core.embeddings import Embeddings
|
from langchain_core.embeddings import Embeddings
|
||||||
from langchain_core.runnables import Runnable
|
from langchain_core.runnables import Runnable
|
||||||
|
|
||||||
@ -116,7 +115,6 @@ def _check_pkg(pkg: str) -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@beta()
|
|
||||||
def init_embeddings(
|
def init_embeddings(
|
||||||
model: str,
|
model: str,
|
||||||
*,
|
*,
|
||||||
|
Loading…
Reference in New Issue
Block a user