Skip to main content

LangChain Retriever - NEAR Staking Data

Project description

LangChain Retriever - NEAR Staking Data

Build a LangChain retriever for staking data.

Deliverables:

  1. LangChain BaseRetriever implementation
  2. Efficient querying
  3. Caching support
  4. Published to PyPI

Success Metric: 20+ downlo

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARStakingRetriever — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARStakingRetriever

tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)

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

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

File details

Details for the file langchain_retriever_near_staking_data-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_retriever_near_staking_data-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f0f6bfa036768eb143d90b193a263f673cd318f01da434929f0b1ede2485dade
MD5 9afddd2b1857475f07a4cda4ab934edc
BLAKE2b-256 bdaa19edb3b48fb0d4e105e0fa9bbe0918aaf2bd8930e9210b1d7f1564054f0c

See more details on using hashes here.

File details

Details for the file langchain_retriever_near_staking_data-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_retriever_near_staking_data-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7af2d483abb64ea566427ed6b568dd7fc012958b4172edfedc2def33cbd08459
MD5 a0a8b68854316effc9e1abfb2c825524
BLAKE2b-256 2ae1d6056333099f1b847e3db00b22d6977deab7bbfe0b2afbc2995208958094

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