neuralite


Nameneuralite JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryA streamlined Python framework for rapidly building and deploying machine learning-based AIs.
upload_time2023-09-03 13:40:30
maintainer
docs_urlNone
authorDark25 (Ruben Roy)
requires_python
license
keywords python neural machine learning chatbots chat artificial intelligence virtual assistant
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Neuralite

*A Streamlined Python Framework for Rapidly Building and Deploying Machine Learning-Based Conversational Agents*



Build, deploy, and scale your AI projects with Neuralite! Whether you're a seasoned AI developer or just starting out, Neuralite offers a simple and efficient way to implement AI features into your software.



## Getting Started 🚀

To get started, install Neuralite with pip:

```bash

pip install Neuralite

```



## Basic Chatbot 🤖

Creating a basic chatbot is simple:

```python

from neuralite.interpreter import ai # Imports framework



assistant = ai('dataset.json') # Loads dataset



cycle_end = False # Starts the AI cycle



while not cycle_end: # Main cycle

    message = input("Enter a message: ") # Prompts user with message

    if message.lower() == "stop": # Exit with 'stop'

        cycle_end = True # Ends cycle

    else:

        print(assistant.process_input(message)) # Prints the response

```



# Customizable Training Epochs 🔄

Train your AI model with a customizable number of epochs. The higher the epochs, the more refined your model will be.

```python

from neuralite.interpreter import ai # Imports framework



# Initialize the AI model with 200 epochs

assistant = ai('dataset.json', epochs=200)



# Continue with your chatbot as usual

```



# Compiling Your Model 📦

To make your dataset unreadable, load faster, and to package it into a neat file.



```python

from neuralite.interpreter import ai # Imports framework



assistant = ai('dataset.json') # Loads dataset



assistant.compile('model.nlite') # Packages dataset to 'model.nlite'

```



# Loading a Compiled Model 🔓

To load a precompiled model.



```python

from neuralite.interpreter import ai # Imports framework



assistant = ai.compiled('model.nlite') # Loads the compiled model



cycle_end = False # Starts the AI cycle



while not cycle_end: # Main cycle

    message = input("Enter a message: ") # Prompts user with message

    if message.lower() == "stop": # Exit with 'stop'

        cycle_end = True # Ends cycle

    else:

        print(assistant.process_input(message)) # Prints the response

```

# Example Conversational Dataset 💬

```json

{

  "greeting": ["Hi", "Hello", "Hey there"],

  "greeting_responses": ["Hello!", "Hi, how can I help?", "Hey! What's up?"],

  "farewell": ["Goodbye", "See you", "Ciao"],

  "farewell_responses": ["Goodbye!", "See you soon!", "Take care!"],

  "how_are_you": ["How are you?", "How's it going?", "What's up?"],

  "how_are_you_responses": ["I'm good, thank you!", "I'm doing well. How about you?", "Not much, what about you?"],

  "compliment": ["You're great!", "You're amazing!", "You're awesome!"],

  "compliment_responses": ["Thank you! You're pretty awesome too.", "Thanks! You're great as well!", "Thanks! That means a lot."],

  "name": ["What's your name?", "Who are you?", "Tell me your name."],

  "name_responses": ["I'm Neuralite, your AI assistant.", "Call me Neuralite.", "I'm Neuralite! Nice to meet you."],

  "jokes": ["Tell me a joke.", "Do you know any jokes?", "Make me laugh."],

  "jokes_responses": ["Why did the scarecrow win an award? Because he was outstanding in his field!", "I told my computer I needed a break. Now it won't stop sending me Kit-Kats.", "Why did the math book look sad? Because it had too many problems."]

}

```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "neuralite",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,neural,machine learning,chatbots,chat,artificial intelligence,virtual assistant",
    "author": "Dark25 (Ruben Roy)",
    "author_email": "me@ruben-roy.com",
    "download_url": "https://files.pythonhosted.org/packages/72/d0/d5f1f2c54f9b575b32553992f41ac0936a2b8701ad549cabf7dab05424b5/neuralite-0.0.3.tar.gz",
    "platform": null,
    "description": "\r\n# Neuralite\r\n\r\n*A Streamlined Python Framework for Rapidly Building and Deploying Machine Learning-Based Conversational Agents*\r\n\r\n\r\n\r\nBuild, deploy, and scale your AI projects with Neuralite! Whether you're a seasoned AI developer or just starting out, Neuralite offers a simple and efficient way to implement AI features into your software.\r\n\r\n\r\n\r\n## Getting Started \ud83d\ude80\r\n\r\nTo get started, install Neuralite with pip:\r\n\r\n```bash\r\n\r\npip install Neuralite\r\n\r\n```\r\n\r\n\r\n\r\n## Basic Chatbot \ud83e\udd16\r\n\r\nCreating a basic chatbot is simple:\r\n\r\n```python\r\n\r\nfrom neuralite.interpreter import ai # Imports framework\r\n\r\n\r\n\r\nassistant = ai('dataset.json') # Loads dataset\r\n\r\n\r\n\r\ncycle_end = False # Starts the AI cycle\r\n\r\n\r\n\r\nwhile not cycle_end: # Main cycle\r\n\r\n    message = input(\"Enter a message: \") # Prompts user with message\r\n\r\n    if message.lower() == \"stop\": # Exit with 'stop'\r\n\r\n        cycle_end = True # Ends cycle\r\n\r\n    else:\r\n\r\n        print(assistant.process_input(message)) # Prints the response\r\n\r\n```\r\n\r\n\r\n\r\n# Customizable Training Epochs \ud83d\udd04\r\n\r\nTrain your AI model with a customizable number of epochs. The higher the epochs, the more refined your model will be.\r\n\r\n```python\r\n\r\nfrom neuralite.interpreter import ai # Imports framework\r\n\r\n\r\n\r\n# Initialize the AI model with 200 epochs\r\n\r\nassistant = ai('dataset.json', epochs=200)\r\n\r\n\r\n\r\n# Continue with your chatbot as usual\r\n\r\n```\r\n\r\n\r\n\r\n# Compiling Your Model \ud83d\udce6\r\n\r\nTo make your dataset unreadable, load faster, and to package it into a neat file.\r\n\r\n\r\n\r\n```python\r\n\r\nfrom neuralite.interpreter import ai # Imports framework\r\n\r\n\r\n\r\nassistant = ai('dataset.json') # Loads dataset\r\n\r\n\r\n\r\nassistant.compile('model.nlite') # Packages dataset to 'model.nlite'\r\n\r\n```\r\n\r\n\r\n\r\n# Loading a Compiled Model \ud83d\udd13\r\n\r\nTo load a precompiled model.\r\n\r\n\r\n\r\n```python\r\n\r\nfrom neuralite.interpreter import ai # Imports framework\r\n\r\n\r\n\r\nassistant = ai.compiled('model.nlite') # Loads the compiled model\r\n\r\n\r\n\r\ncycle_end = False # Starts the AI cycle\r\n\r\n\r\n\r\nwhile not cycle_end: # Main cycle\r\n\r\n    message = input(\"Enter a message: \") # Prompts user with message\r\n\r\n    if message.lower() == \"stop\": # Exit with 'stop'\r\n\r\n        cycle_end = True # Ends cycle\r\n\r\n    else:\r\n\r\n        print(assistant.process_input(message)) # Prints the response\r\n\r\n```\r\n\r\n# Example Conversational Dataset \ud83d\udcac\r\n\r\n```json\r\n\r\n{\r\n\r\n  \"greeting\": [\"Hi\", \"Hello\", \"Hey there\"],\r\n\r\n  \"greeting_responses\": [\"Hello!\", \"Hi, how can I help?\", \"Hey! What's up?\"],\r\n\r\n  \"farewell\": [\"Goodbye\", \"See you\", \"Ciao\"],\r\n\r\n  \"farewell_responses\": [\"Goodbye!\", \"See you soon!\", \"Take care!\"],\r\n\r\n  \"how_are_you\": [\"How are you?\", \"How's it going?\", \"What's up?\"],\r\n\r\n  \"how_are_you_responses\": [\"I'm good, thank you!\", \"I'm doing well. How about you?\", \"Not much, what about you?\"],\r\n\r\n  \"compliment\": [\"You're great!\", \"You're amazing!\", \"You're awesome!\"],\r\n\r\n  \"compliment_responses\": [\"Thank you! You're pretty awesome too.\", \"Thanks! You're great as well!\", \"Thanks! That means a lot.\"],\r\n\r\n  \"name\": [\"What's your name?\", \"Who are you?\", \"Tell me your name.\"],\r\n\r\n  \"name_responses\": [\"I'm Neuralite, your AI assistant.\", \"Call me Neuralite.\", \"I'm Neuralite! Nice to meet you.\"],\r\n\r\n  \"jokes\": [\"Tell me a joke.\", \"Do you know any jokes?\", \"Make me laugh.\"],\r\n\r\n  \"jokes_responses\": [\"Why did the scarecrow win an award? Because he was outstanding in his field!\", \"I told my computer I needed a break. Now it won't stop sending me Kit-Kats.\", \"Why did the math book look sad? Because it had too many problems.\"]\r\n\r\n}\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A streamlined Python framework for rapidly building and deploying machine learning-based AIs.",
    "version": "0.0.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        "neural",
        "machine learning",
        "chatbots",
        "chat",
        "artificial intelligence",
        "virtual assistant"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c1d1d287be4fdb736a7a0fcabf72ed577be2be7382577986dcb18076713b503",
                "md5": "2dc5ed75b2580201e4c4e05f6fed40cb",
                "sha256": "0a001356b830700cb3b4d6e5c27bdd5bde00bdfd8afa4af54b2784f29cba103a"
            },
            "downloads": -1,
            "filename": "neuralite-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2dc5ed75b2580201e4c4e05f6fed40cb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3942,
            "upload_time": "2023-09-03T13:40:28",
            "upload_time_iso_8601": "2023-09-03T13:40:28.584599Z",
            "url": "https://files.pythonhosted.org/packages/8c/1d/1d287be4fdb736a7a0fcabf72ed577be2be7382577986dcb18076713b503/neuralite-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72d0d5f1f2c54f9b575b32553992f41ac0936a2b8701ad549cabf7dab05424b5",
                "md5": "a8c73f24428de152c5988f943830fe52",
                "sha256": "c60d5bba88a9e1fef6c5a8a2bb2802baf9a0e762599d2d3b2fc4048014e1d960"
            },
            "downloads": -1,
            "filename": "neuralite-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "a8c73f24428de152c5988f943830fe52",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4030,
            "upload_time": "2023-09-03T13:40:30",
            "upload_time_iso_8601": "2023-09-03T13:40:30.226034Z",
            "url": "https://files.pythonhosted.org/packages/72/d0/d5f1f2c54f9b575b32553992f41ac0936a2b8701ad549cabf7dab05424b5/neuralite-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-03 13:40:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "neuralite"
}
        
Elapsed time: 0.10949s