Skip to main content

No project description provided

Project description

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.

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

neuralnetrag-0.1.2.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

neuralnetrag-0.1.2-cp311-none-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file neuralnetrag-0.1.2.tar.gz.

File metadata

  • Download URL: neuralnetrag-0.1.2.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.0

File hashes

Hashes for neuralnetrag-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1a2daab39af05b58d1dab87659be5531118791ff8c7e8c61aaab9dd2b4710c33
MD5 7437d32c475f1dc9c1b78ee893e79752
BLAKE2b-256 f2ba7c20063c70deaa3c1b3fb22b689b6f96554c6b69141f3bca7e3c54f056a7

See more details on using hashes here.

File details

Details for the file neuralnetrag-0.1.2-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for neuralnetrag-0.1.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 17d0af61c0e21623bb556431f8ee578f5cf3c44a68757763bf250e216ac889bf
MD5 1f761feb1924b90c09b5280ceab8dcea
BLAKE2b-256 454cbe9189f6889d4bcc76c0c8fa3e9fe41b66db34ee808ae023a6a0ed08d16e

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