Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/programminginblood/neuralchat

NeuralChat is a chatbot created in Python using NLTK, Tensorflow, keras, numpy and FastAPI.
https://github.com/programminginblood/neuralchat

ai keras keras-tensorflow ml nltk nltk-python python python3 tensorflow tensorflow2

Last synced: about 2 months ago
JSON representation

NeuralChat is a chatbot created in Python using NLTK, Tensorflow, keras, numpy and FastAPI.

Awesome Lists containing this project

README

        

![Logo](https://i.ibb.co/1RGz0VH/PIM-2.jpg)

# NeuralChat

This Chatbot is created in Python using NLTK, Tensorflow, keras, numpy and FastAPI.

**NOTE:**
(CURRENTLY OPTIMIZED FOR MAC OS (ARM64 CHIPS) ONLY DUE TO DIFFERENT GPU ARCHITECTURE IN WINDOWS)

## Features

- Train for custom datasets.
- Uses 3 layer Neural Network.
- Fast & Efficient.
- Can be integrated anywhere via REST API. (Web, Mobile App, Iot etc)

## API Reference

#### Get API Endpoints Docs

```http
GET /docs
```

#### Ask Chatbot

```http
POST /chatbot
```

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `text` | `string` | **Required**. Text to ask chatbot |

## Author

- [@ProgrammingInBlood](https://www.github.com/ProgrammingInBlood)

## Run Locally

Clone the project

```bash
git clone https://github.com/ProgrammingInBlood/NeuralChat
```

Go to the project directory

```bash
cd NeuralChat
```

Install dependencies

```bash
pip install requirements.txt
```

Train Chatbot & Create Model

```bash
python src/train_chatbot.py
```

Start the server

```bash
python main.py
```

## Tech Stack

**Language:** Python (v3.9)

**Server:** FastAPI, Uvicorn

**Machine Learning:** NLTK, Tensorflow, Keras