LangChain integration with the ASIMOV platform.
Project description
langchain-asimov
LangChain integration with ASIMOV, a polyglot development platform for trustworthy, neurosymbolic AI.
🛠️ Prerequisites
⬇️ Installation
Installation from PyPI
pip install -U langchain-asimov
👉 Examples
Loading DuckDuckGo Results
Use e.g. the SerpApi module to fetch search results from DuckDuckGo, Google, or Bing:
from langchain_asimov import AsimovLoader
search = AsimovLoader(
module="serpapi",
url="https://duckduckgo.com/?q=LangChain+roadmap"
)
for result in search.lazy_load():
print(result)
[!TIP] On your host, make sure that
asimov-serpapi-importercan be found in yourPATHand that you've defined theSERPAPI_KEYenvironment variable:export SERPAPI_KEY="..."
Loading X (Twitter) Profiles
Use e.g. the Bright Data module to fetch a public X profile:
from langchain_asimov import AsimovLoader
profiles = AsimovLoader(
module="brightdata",
url="https://x.com/LangChainAI"
)
for profile in profiles.lazy_load():
print(profile)
[!TIP] On your host, make sure that
asimov-brightdata-importercan be found in yourPATHand that you've defined theBRIGHTDATA_API_KEYenvironment variable:export BRIGHTDATA_API_KEY="..."
Loading X (Twitter) Followers
Use e.g. the Apify module to fetch the followers/followees for an X profile:
from langchain_asimov import AsimovLoader
followers = AsimovLoader(
module="apify",
url="https://x.com/LangChainAI/followers"
)
for follower in followers.lazy_load():
print(follower)
[!TIP] On your host, make sure that
asimov-apify-importercan be found in yourPATHand that you've defined theAPIFY_TOKENenvironment variable:export APIFY_TOKEN="..."
📚 Reference
langchain-asimov.readthedocs.io
👨💻 Development
git clone https://github.com/asimov-platform/langchain-asimov.git
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_asimov-0.0.4.tar.gz.
File metadata
- Download URL: langchain_asimov-0.0.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a4938c973f0697659d8a81086b0022bbffc4070f1a773e4ed0a187d7829dc47
|
|
| MD5 |
546226a0f14a2b5583388f9971e87d7a
|
|
| BLAKE2b-256 |
bb5e2baa0dcc5dbb15d72c22476096b6b5ecf6542d2f1480073275347066eda3
|
File details
Details for the file langchain_asimov-0.0.4-py3-none-any.whl.
File metadata
- Download URL: langchain_asimov-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42349080519f6c2b32c6783a3f161b9adcfb02432b540e466d4b6cbd551582fc
|
|
| MD5 |
4a1e28752818034809f83adfa313cfd0
|
|
| BLAKE2b-256 |
52cb885becb2a7be69621157927976de9a052b05d54fe3f840fd71d5ac84edb2
|