sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
9d345b70985f93509c4e86f75eec5aa86629bdfac3cbb3ab35387fac34d8903f
Python
644
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.vectorstores import TimescaleVector # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
ac55e7aeef693e004376445aa5b3efa05aae26cec4970e6200563a7f35461781
Python
644
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import GraphQLAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional imp...
04d29f9b7bbe26a939d981779ad175afaf404c03aea7a692d5f80733687f11c3
Python
645
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import YahooFinanceNewsTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional impo...
39ebfa89f953a2e83af8f7f1ea33cd83f18990b4f51d3147edfc0791398e7e2c
Python
645
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.ernie import ErnieBotChat # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
6adef850b07f7276acd4e5e53f9342081c660ac0750d9ba39dc75a6565106702
Python
645
55
# parameters of the EMT circuit # same as Tian et al (2014) # the only free parameters are the external TGFB inducer and the splicing rate (beta=1), which are set in the main.py file k0_T = 0.06 kt = 1.2 JT = 0.06 kd_T = 0.6 nr2 = 2. k0_s = 0.0006 ks = 0.03 Js = 1.6 kd_s = 0.09 nt = 2. kS = 17 JS = 0.08 kd_S = 1.66...
d2ee85acca2f5f971671c8771be989ae4f8204e69f3b5447d5eb479afdb0a769
Python
645
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.gitlab.tool import GitLabAction # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
da05ab8ec997fdd2166477b112c1b7cd313dbfd66166a30e374499fb8a55d2d9
Python
645
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import WolframAlphaQueryRun # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional impo...
fab222b5d756dfc996ae8b234ed7b49c3331919d38e1135c7be5e88718086f9e
Python
645
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.github.tool import GitHubAction # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
0d54c8080705ca6d7673892695c2f36eee853f05cdb3d73101253726310d2ea0
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import DropboxLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
1ebbed7ee0b1350d2fb9f0c389bf4bc62c7e2979fbc6a3865f2f8f9ce8136454
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.minimax import MiniMaxChat # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
23095d10d3df5739d1a62d24cac2a37f44f1448e81d989ef3cdcc9bac179e46f
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import OBSFileLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
23f6e605ebf825828bdfebd9a16a3e25619fcaed17f47f8e758ed131ab0576b2
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import SitemapLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
29d6bc719f76a6b20a8a005ce983125aad1326f90fe3283190285bbbeb0e7152
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import GPT4AllEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
33e56bde25d6962037f3730efd89c992240f750184e8dd7842f167d355fc91ba
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import RocksetLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
3534ea656480a0b9797968bc59a30373f8af9477e89dc723f340f35f21121c87
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.hunyuan import ChatHunyuan # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
4f7e9dbbcc6489155b53fc60a457deb5b9a8988b8c0b8e9694d8c5463517111b
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import NewsURLLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
606c50c32d5982be2a73cb07e481aa89d1512aafd9affb907222b6ed2f1f7608
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import RSSFeedLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
7405d1b6aec1e20321d421bb347933d6200fed16fd8671c5bf6355e5cf532028
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import LocalAIEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
8593f5308c8c31a4d5829165850920849242301aa351a4de9643fbe1c7796d59
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import GCSFileLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
8749ac6f2a8c2df074cb896bdad852fb7de77a015e7bc2f6175a40a0420f3ccc
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.gmail.base import GmailBaseTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
8a39705902cd11729a2cc2d46e4c4259757be3dfbea3f7bf74963426f4bfe4d7
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import XorbitsLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
9418247c74524f8541eb612db425f9c8ca2054bc3a1bf574bdde4abbd8f2b49e
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import GitbookLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
a064a68361ae9b1c1b152d9df2af7e969718f1f1b95cdc3df0e5342659ae19e8
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import DiffbotLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
a2f5792a64d761617058c7a781d3b39c24b466974326bd293b065ef9cad2fe5c
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.slack.base import SlackBaseTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
a6bd7e0d490fcc5326bf44b6b42d838f0511eb1ab96b8531bd296106489d7e52
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import WebBaseLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
ca320614948d8ff095dece0f0f2813245d34b3f5a4368e486289317602654d16
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import BedrockEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
d0bb455f5f97a74d820497e54430808f6bbe62c9028f58092d9999103532b213
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import MongodbLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
ddc854e4f9b056c0253dc39bfce21f7ff1ffdc4d21f6e4edac46a38dc9327d84
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import PsychicLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
ddd044a9319f5bbdebaeed72be819d90eab6c76005ff5644801aa7d958f6c88f
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import MiniMaxEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
fda34eb7e09390a2dcad0573e55a3ca8a99f9a3782ed18314ee82edd4e0cebda
Python
646
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import BookendEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
0c27558e8580a2e6c550d43d6060b3c029285cce9bc3e267f2d02d01d163e0b0
Python
647
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import TensorflowDatasets # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
3bd16f15cd89a04293246e6b5e030ac0a7ec9fe1c42da1500237d10c0e6196ff
Python
647
22
from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='patway-net', version='1.0.0', description='Interpretable Predictions for Patient Pathways', long_description=readme, author="Sandra Zilke...
4601b7c2f9ad8ac636bf4c319f45c66d182f142d70cc8145a948d74d17549630
Python
647
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import SteamWebAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
6ff3e3774479a6ef2b55e038a2731effe78353d60f50af5a228acec977fdb26d
Python
647
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders.quip import QuipLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
90dc979e2e7a5544c0dcf0c0f9bf434d7202d0e5b3ef8d7a518b4609c6d23c5e
Python
647
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import BraveSearchWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
a6af971d465df6aef9b989f8b7df753ddea403a0d3545129110c5d8495e5a8ef
Python
647
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.docstore.arbitrary_fn import DocstoreFn # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
1ba8a09c621919fcede361007d88e3e6c171e69177bdc2fc69c2149e67d9fd27
Python
648
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import MetaphorSearchResults # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional imp...
30c082644996bc350988e682048e2694b40209fbc9dfb19ad39a2961cb019f3a
Python
648
37
infile=open("Recon3D_pathway_Mm_gene_symbol_withATP_tbl.tab", "r") outfile=open("Recon3D_pathway_Mm_gene_symbol_withATP_tbl.gmt ", "w") tab="\t" pathwaydb={} fs=infile.readline() while 1: fs=infile.readline() if fs=="": break fsl=fs[:-1].split(tab) path=fsl[0] gene=fsl[1] if path i...
00bbc9773cb8b2938b6cd16d145fb3eb722f3e01b5a1baabad5308eb0125446f
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.retrievers import ChaindeskRetriever # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
198455e26d5202cd19760843a724be88b15be88c956444aab9685c9f69b03ab3
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.retrievers import CohereRagRetriever # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
23cf159062dae193fbdd0b3c03c5f987120c1d5f6974dde59558e2f52bea930f
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import NotionDBLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
2e10a0651e145be8cc078b495af11b06c2402437364ccb9610cb5c70a7fdf471
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import DocugamiLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
525d250cb067e33a95fd65899452ca9d7a12e4a7326e6ee36cdeaf42a7cd901e
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import SpreedlyLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
5d66ef98123e53e92fede1c28cc99f97da7173136afcdac0ec2b90b0334b586b
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import GradientEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
6c3cf403a53f1d6acb597ebe0e03d9a761b002026b4321c8e6280f172c24831c
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import BigQueryLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
715f12c17c61dd0a080e9bfeafcaacebb6fc4899478ca4bacdc08152ca10b9b6
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import OneDriveLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
9ccb2e1d94756b82a8c9649ef68851c367dabf4041de5bd5aed243d2d827ad64
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import VertexAIEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
acd0cc972a7a5ef8e5f3167a7dff0682a0d236c9755ba0651a1cfa731a529d8c
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import LLMRailsEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
c9da9ef4fcf94fb5407438901b8a2431dd7e3909412cbe5f2ee5a9877dd22e46
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import EverNoteLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
d9698fc37c1f1b7317a2bae7a08802e1bb56ca72578668761c058aa71efe0b9b
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import ClarifaiEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
da8266017323781a00c697d5dc737b85b69312e1d0285540ff5af1b46c26ebfc
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import ObsidianLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
e254a6e9cbb6b9511849c205d1d35bb3db00e5185239a334fdbc37f88db35287
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.retrievers import WikipediaRetriever # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
e9d1a5ed625cec0977bece44b2d5536439fd74d7f4593919fdeafd940468bcc2
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import AirtableLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
f3d86db309affa98c29f34ea38d6fe97cbea8b27f5e4874e82dbbc682d1930ae
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import LlamaCppEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
f5957bb5364be806b69171cef1e48a91d238f7071d8108b5ff54ba5894d1edfe
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import NLPCloudEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
f876d634b88a0ddbfe396c428fecb2969b49be8dce8e668d72f8a82cac80dda5
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import AZLyricsLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
fcfa6ab88ec3de20beca0247ef83536956d06fcbd500a89ccd3d2c6f2bae720d
Python
649
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import BiliBiliLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
074aa69c8bfd7f5823d2b421560d41ed7ca7fa65e26ab6155fabf0c22a8577d7
Python
650
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.yandex import ChatYandexGPT # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
10d224317b506dd5bb8dbd985020c25a4295738603d105f5ceb01b82e0680a11
Python
650
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import WikipediaAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
37bcafd4cf3d4f889091dc60a7f7346c36a788a3cd467012090ad80642d0a1c3
Python
650
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import BibtexparserWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
52bccb2901a4e1c08c310b0a388a87e51323ae2741b31c93b163bd042256f470
Python
650
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import SearchApiAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional i...
ebb1cb62985628d42f0e975661439aae88cec612e76451066d52e00c7ba192c6
Python
650
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.clickup.tool import ClickupAction # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
02da8aa58743bdc880aba9ac002f8ceaf8e8feadde40f3a585aba2aa843aa31a
Python
651
25
from langchain_core.exceptions import OutputParserException from langchain_core.output_parsers import ( BaseCumulativeTransformOutputParser, BaseGenerationOutputParser, BaseLLMOutputParser, BaseOutputParser, BaseTransformOutputParser, StrOutputParser, ) from langchain_core.output_parsers.base im...
0f593e67491afbca163fce655ac7a235cf11026c0912d544a7dd0e0a368544b8
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.baichuan import ChatBaichuan # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
1946cb5fa478da74cf4bd10c6aff97ef33069a84ac489cb02e7c918b7311ed7b
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.vectorstores.pgvecto_rs import PGVecto_rs # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optio...
1f7280a3a37063e7c2ab6fddf50a1eaae2f1cf9223ad3280ac3af7817e025705
Python
651
18
import pathlib import os ROOT_DIR = pathlib.Path(__file__).parent.parent.absolute() STORAGE_DIR = ROOT_DIR / 'storage' os.environ['ROOT_DIR'] = str(ROOT_DIR) os.environ['STORAGE_DIR'] = str(STORAGE_DIR) # Check if the storage directory exists if not STORAGE_DIR.exists(): # Ask user for a correct storage director...
27927fe55e370ed59d46084c1aeb409ed95a3346d781b0ba84d7930aef4ba1b5
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import MerriamWebsterQueryRun # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
64c85992b541e785539d5076c6e6bfee6d459cc5feac22e0838dd88d668401ce
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import EdenAiTextToSpeechTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
6d67b5a8d31185453db2c8645ef0c1f00ebd0f0ca866f9b225e4f0e14b899d0c
Python
651
30
from langchain_classic.schema.messages import __all__ EXPECTED_ALL = [ "AIMessage", "AIMessageChunk", "BaseMessage", "BaseMessageChunk", "ChatMessage", "ChatMessageChunk", "FunctionMessage", "FunctionMessageChunk", "HumanMessage", "HumanMessageChunk", "SystemMessage", "S...
a00a7ab4a38c723d037d5dd950e762ca9387a33a540062aaf467d9e2a13310a7
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chains.graph_qa.base import GraphQAChain # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
b3aebd9b481ae5ea64c26d9d739e7e223547502f77c4f08fb8510d0ca15d05f5
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.everlyai import ChatEverlyAI # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
b73c3423622d3efd54fdf67a86a200fbfd3031f5b92256d1b565d30b6422ec30
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.anyscale import ChatAnyscale # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
b7ac6e5c183612a08c0743e3fec26a0fe16675c5d0ba6cddff6dbc6c82c063de
Python
651
22
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders.python import PythonLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling op...
c21dac62cb51540a6f7f5ffc1d5e9ffbb5b5b64e8bf3fea2e5e2725fd4f74aed
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import EdenAiSpeechToTextTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
c7a9d8cce7eaaa91c750665d176c9134eeec174077a43ce1383e9507c0051bf5
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.chat_models.vertexai import ChatVertexAI # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
dea3bb96cd797d6a83e896a68a09b1a95bce0f915d13300745753980f319506a
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools import OpenWeatherMapQueryRun # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional im...
e855d56e973a1102cb7e48a48dbaa7baa68c2fabe8169443e67bec172811411a
Python
651
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.tools.office365.base import O365BaseTool # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling option...
093790301b8ab8485996fc42c955339a7fb47f23955975724105b8ca9e54d762
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import CouchbaseLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
1a7461db6a8d2624d7f0cc6741a3e1e4e522588ba4b2ab7d0291f967bbdf148e
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import DirectoryLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
289fe85f39b8f2bfde0c7fea470e7b3eae8755e971225e2b85eef6050311432d
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import FastEmbedEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
28e586c89e98ed81d5afd50f6a6839033f8fca917a765834983babba42c1655b
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.llms.utils import enforce_stop_tokens # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
32330b0d85c454bbdb602df70913b3dd602a95cf05e44dc5b3373824ed5fa9bb
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.retrievers import EmbedchainRetriever # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
33535b722f01eeec2a2f552bac2b0abfddc137a0ce5c3fc16bf4093081593195
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import FigmaFileLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
6170433328c9265e7b2ee5eb64c8dbb35b8427251dd0ceb805d6c0a7e04e3f35
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import WikipediaLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
61e2d991f937969127b2e7f5225aa6cd8f60e7a91cbad6dd4edd69b5daffd60c
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import DeepInfraEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
6cd1af7c210539a71ecaf64d0c9b24f0fb6e2f542fad7e8d5f6bbf0a2c05edfa
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import EtherscanLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
8a7fe8730a7f496735b6720d8934010028b72ce21b843703ac5d41b1a2eee79a
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import AsyncHtmlLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
9899b68c44e43440bcad599396a40c09a30d04494bfd695154148a7af7430ad4
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import SnowflakeLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
abd0bfe23121577aa7c0e0658a2f099a7b953f518aa5f34036113826f93c510f
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.embeddings import DashScopeEmbeddings # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
d136749c44369a378933975ff7c3aef4ee0944fe9aa6d3a731cf240ca719f790
Python
652
25
from langchain_core.output_parsers import __all__ EXPECTED_ALL = [ "BaseLLMOutputParser", "BaseGenerationOutputParser", "BaseOutputParser", "ListOutputParser", "CommaSeparatedListOutputParser", "NumberedListOutputParser", "MarkdownListOutputParser", "StrOutputParser", "BaseTransform...
d4423282c5532c401578222676079112f5a6ca9499c50b38ea49247406f8cdb7
Python
652
26
#!/usr/bin/env """ # Author: Kai Cao # Modified from SCALEX """ import logging def create_logger(name='', ch=True, fh='', levelname=logging.INFO): logger = logging.getLogger(name) logger.setLevel(levelname) formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') # h...
fedd9943c7a8b7f4c6d9edbe17b0f1998f96e14476d875824eafd01bdd2acf17
Python
652
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.document_loaders import GutenbergLoader # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optiona...
0652b741df52dcef4251e0030966396e5b69fc274fb5a8a1f6a4ddeb4b9cd14f
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.vectorstores import DocArrayHnswSearch # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
0f8d04a0f2f82f160f4afd74e784e667f27e2b3b52d82926986696cb68813afd
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.memory.kg import ConversationKGMemory # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
277f9d54037ef148d61b39355767ccc24ba0e867d59848c140906c7958431c05
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import GoogleJobsAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
28e7a0d0e092871a770131526cfc241b5c65d130cfe3887968fb1e0671f89a3a
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import GoogleLensAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
2c1d2fccc75d58d0c955cb2ae8e1251e13898d9bde85163dbc092809c051319d
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.vectorstores import MomentoVectorIndex # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional...
7012ae94488cfe77df524f84db339c6273677beae853baff8f9a8dd61aab52e2
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import BingSearchAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
8081ae7876195ad54c69b8647df6a1246bfc0a25b160b758e2f8c7f1c53b4eb3
Python
653
23
from typing import TYPE_CHECKING, Any from langchain_classic._api import create_importer if TYPE_CHECKING: from langchain_community.utilities import MaxComputeAPIWrapper # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handling optional ...
acce18e980b2679aadb9b36c275f01a24434647853f33c2384cc4725ec5ac1ef
Python
653
20
from pdearena.configs.config_blast import BlastVelocityDensityTemperatureTimeIntegratorConfig from pdearena.configs.config import PretrainedCFDConfig class BlastVelocityDensityTemperaturePretrainedCFDConfig( BlastVelocityDensityTemperatureTimeIntegratorConfig, PretrainedCFDConfig, ): model: str...