GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ragerlu/pythonChatbotApi: Simple Python api for a chatbot. Returns a JSON dataset with {input: ..., response: ..., accuracy: ...}.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
main.py
main.py
 
 

Repository files navigation

pythonChatbotApi

Purpose

A simple python api which returns JSON data in the form of {input: ..., response: ..., accuracy: ...}.

I am using this as an educational project.

Installation

-Clone the repository. git clone https://github.com/ragerlu/pythonChatbotApi.git

Testing

  1. After Installation, the api can be tested by following the below steps.
  2. In a terminal running: python3 main.py
  3. Then going to a browser window and typing http://127.0.0.1:5000/ into the address bar.
  4. You should see 'Test Home Page' in the top left of the page.
  5. Finally append api?input=hello to the end of the current address in the address bar.

The resulting JSON response should be {input: "hello", response: "Hey there!", accuracy: 1}.

About

Simple Python api for a chatbot. Returns a JSON dataset with {input: ..., response: ..., accuracy: ...}.

Topics

apijson-apipythonpython3simple-api

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.