Skip to content

Commit

Permalink
V0.05
Browse files Browse the repository at this point in the history
  • Loading branch information
MJanbandhu committed Apr 28, 2024
1 parent f9fdba0 commit 9baaa8b
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 112 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/chatbot_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Chatbot Build and Test

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python -m pytest tests/
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build and publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
username: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
100 changes: 0 additions & 100 deletions chatbot.py

This file was deleted.

12 changes: 0 additions & 12 deletions data/intents.json

This file was deleted.

23 changes: 23 additions & 0 deletions setupt.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from setuptools import setup, find_packages

setup(
name='0.05',
version='0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'nltk',
'keras',
# Add any other dependencies here
],
entry_points={
'console_scripts': [
'chatbot = chatbot.chatbot:main'
]
},
author='Mohit Janbandhu',
author_email='mojanbandhu@email.com',
description='A chatbot package',
url='https://github.com/MJanbandhu/chatbotMJ.git',
license='MIT',
)
File renamed without changes.
File renamed without changes.

0 comments on commit 9baaa8b

Please sign in to comment.