[chore] fix wrong import of LLMs from langchain (#1002)

This commit is contained in:
Sidharth Mohanty
2023-12-11 05:41:51 +05:30
committed by GitHub
parent d66e647f99
commit 7910cee259
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import importlib
import os
from typing import Optional
from langchain.llms import Cohere
from langchain.llms.cohere import Cohere
from embedchain.config import BaseLlmConfig
from embedchain.helpers.json_serializable import register_deserializable

View File

@@ -3,7 +3,7 @@ import logging
import os
from typing import Optional
from langchain.llms import HuggingFaceHub
from langchain.llms.huggingface_hub import HuggingFaceHub
from embedchain.config import BaseLlmConfig
from embedchain.helpers.json_serializable import register_deserializable

View File

@@ -2,7 +2,7 @@ import importlib
import os
from typing import Optional
from langchain.llms import Replicate
from langchain.llms.replicate import Replicate
from embedchain.config import BaseLlmConfig
from embedchain.helpers.json_serializable import register_deserializable