Skip to main content

LangChain integration with the ASIMOV platform.

Project description

langchain-asimov

License Compatibility Package Documentation

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-importer can be found in your PATH and that you've defined the SERPAPI_KEY environment 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-importer can be found in your PATH and that you've defined the BRIGHTDATA_API_KEY environment 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-importer can be found in your PATH and that you've defined the APIFY_TOKEN environment variable:

export APIFY_TOKEN="..."

📚 Reference

langchain-asimov.readthedocs.io

👨‍💻 Development

git clone https://github.com/asimov-platform/langchain-asimov.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

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

langchain_asimov-0.0.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_asimov-0.0.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

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

Hashes for langchain_asimov-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1a4938c973f0697659d8a81086b0022bbffc4070f1a773e4ed0a187d7829dc47
MD5 546226a0f14a2b5583388f9971e87d7a
BLAKE2b-256 bb5e2baa0dcc5dbb15d72c22476096b6b5ecf6542d2f1480073275347066eda3

See more details on using hashes here.

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

Hashes for langchain_asimov-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42349080519f6c2b32c6783a3f161b9adcfb02432b540e466d4b6cbd551582fc
MD5 4a1e28752818034809f83adfa313cfd0
BLAKE2b-256 52cb885becb2a7be69621157927976de9a052b05d54fe3f840fd71d5ac84edb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page