Skip to main content

NeuralNet

Overview

NeuralNet is a high-performance, Rust-based library designed for fast retrieval and generation (RAG) tasks. Leveraging Rust's efficiency, NeuralNet delivers rapid, reliable, and intelligent contextual processing capabilities, making it ideal for applications requiring quick information retrieval and seamless response generation.

Features

  • Superfast Performance: Built using Rust for optimal speed and efficiency.
  • Flexible Contextual Processing: Supports complex RAG operations with minimal latency.
  • Easy Integration: Simple Python bindings for seamless use in Python projects.
  • Open Source: Licensed under the MIT License, allowing you to use, modify, and distribute freely.

Installation

To use NeuralNet in your Python projects, follow these steps:

  1. Install the Python Package

    First, install the package from PyPI:

    pip install NeuralNet
    

Usage

Here’s the simple code to utilize in your Python code:

    import neuralnet as net
    
    def test_rust_functions():
        urls = ["https://botpress.com/blog/what-is-an-ai-agent"]
        texts = net.extract_texts(urls)
        print("Extracted texts:", texts)
    
        query = "how scaling support works"
        response = net.generate_response(query, texts)
        print("Generated response:", response)
    
    if __name__ == "__main__":
        test_rust_functions()

Available Functions

`retrieve(query: str, documents: List[str]) -> str: Takes a query and a list of documents, returning the most relevant document based on contextual similarity.

Contributing

We welcome contributions to NeuralNet! If you have suggestions, bug reports, or would like to contribute code, please follow these steps:

  • **Fork the repository on GitHub.
  • **Create a new branch for your changes.
  • **Submit a pull request with a clear description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, please contact Dhruv Kumar.

Metadata

Release files for neuralnetrag 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neuralnetrag 0.1.2
File Size Uploaded Provenance
neuralnetrag-0.1.2.tar.gz 16.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for neuralnetrag 0.1.2
File Interpreter ABI Platform
neuralnetrag-0.1.2-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details

Total release size: 1.5 MB

Release files / neuralnetrag-0.1.2.tar.gz

Download URL neuralnetrag-0.1.2.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a2daab39af05b58d1dab87659be5531118791ff8c7e8c61aaab9dd2b4710c33
BLAKE2b-256 checksum
How to use checksums
f2ba7c20063c70deaa3c1b3fb22b689b6f96554c6b69141f3bca7e3c54f056a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.0

Release files / neuralnetrag-0.1.2-cp311-none-win_amd64.whl

Download URL neuralnetrag-0.1.2-cp311-none-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
17d0af61c0e21623bb556431f8ee578f5cf3c44a68757763bf250e216ac889bf
BLAKE2b-256 checksum
How to use checksums
454cbe9189f6889d4bcc76c0c8fa3e9fe41b66db34ee808ae023a6a0ed08d16e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.0

Security for neuralnetrag 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page