Skip to main content

nanochain is a nimble framework to create LLM bots over extensible dataset

Project description

nanoChain

PyPI Changelog Tests Documentation Status License

nanoChain is a Python package that provides a simple and efficient implementation of

Installation

You can install nanoChain directly from PyPI using pip:

pip install nanoChain

Alternatively, you can clone the repository and install from source:

git clone https://github.com/jamesliu/nanoChain.git
cd nanoChain
pip install .

Usage

Here are examples of how to use nanoChain to search ArXiv paper using embedding.

nchain add https://arxiv.org/abs/2010.14701
nchain add https://arxiv.org/abs/2302.01318v1
nchain add https://arxiv.org/abs/2309.17453

nchain query "Show me the Scaling Laws for Autoregressive Generative Modeling."
nchain query "Show me the algorithm about Large Lanuage Model Decoding with Speculative Sampling."
nchain query "How to handle streaming apps efficiently in LLM?"

Examples

See the examples directory for more comprehensive usage examples.

Documentation

Full documentation is available here.

Contributing

We welcome contributions to nanoChain! If you're interested in contributing, please see our contribution guidelines and code of conduct.

License

nanoChain is licensed under the Apache License 2.0. See the LICENSE file for more details.

Support

For support, questions, or feature requests, please open an issue on our GitHub repository or contact the maintainers.

Changelog

See the releases page for a detailed changelog of each version.

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

nchain-0.1.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

nchain-0.1-py3-none-any.whl (24.4 kB view hashes)

Uploaded Python 3

Supported by

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