Giter Site home page Giter Site logo

aipages's Introduction

AI Pages first edition

Python Running

source venv/bin/activate

python manage.py runserver

Fresh Ubuntu Installation Set up:

The history:

sudo apt update
python3 -V
sudo apt install python3-django
django-admin --version
sudo apt install python3-pip python3-venv
python3 -m venv venv
mkdir poc0
cd poc0/

# activate virtualenv
source venv/bin/activate

Django Installation Set up:

# set up django
django-admin startproject aipages .
python manage.py migrate
python manage.py createsuperuser
sudo apt install python-is-python3
sudo ufw allow 8000
python manage.py runserver localhost:8000
# or just
python manage.py runserver

python manage.py startapp app

# python manage.py makemigrations app # when createin the app ....

python manage.py createsuperuser

admin / 1234

Django Set Up after environment setup

mkdir poc1
cd poc1/
# create virtualenv
python3 -m venv venv
# activate virtualenv
source venv/bin/activate

pip install django

# set up django
django-admin startproject aipages .

python manage.py migrate

python manage.py runserver localhost:8000
# or just
python manage.py runserver

python manage.py startapp app

# python manage.py makemigrations app # when createin the app ....

python manage.py createsuperuser

admin / 1234

Usful tutorials

https://www.youtube.com/watch?v=TOLCkFqd4nI&list=PLkeoo2ahcgvdTTx2U835RAO_R8UwS6oaf&ab_channel=KumarAbhishek008

Free Components for blocks : https://tailwindcomponents.com/

Chatbots are next:

To install

pip install rasa
python -m rasa --version

pip install 'sqlalchemy<2.0'

To run

cd poc3/rasabot # folder rasa was installed

python -m rasa run --enable-api --cors "*"

python -m rasa shell --debug

To test

Testing Django chatbot api for saving conversation

python manage.py test chatbot

Testing the Rasa Model

curl localhost:5005/model/parse -d '{"text":"hello"}'

chatGPT can be implemented in rasa https://medium.com/@maliahrajan/unleashing-the-power-of-ai-create-a-next-generation-chatbot-with-rasa-and-chatgpt-aba87f30cb94

WhatsApp API is next...

https://medium.com/@alfredpfrancis/integrate-rasa-with-whatsapp-1b1477b51090

R&D

Then comes payment methods

Paypal :

https://github.com/jazzband/django-payments

https://django-payments.readthedocs.io/en/latest/index.html - has a lot of providers backend

https://djangopackages.org/grids/g/payment-processing/ - comparisons

Best practice file structure:

my_website/ │ ├── templates/ │ └── base.html │ ├── home/ │ ├── templates/ │ │ ├── home/ │ │ │ └── index.html │ │ │ ├── static/ │ │ ├── home/ │ │ │ ├── css/ │ │ │ └── js/ │ ├── builder/ │ ├── templates/ │ │ ├── builder/ │ │ │ └── index.html │ │ │ ├── static/ │ │ ├── builder/ │ │ │ ├── css/ │ │ │ └── js/

Troubleshooting:

sudo lsof -i:8000
kill -9 PI

aipages's People

Contributors

ariel1985 avatar

Stargazers

Oz Soffy avatar

Watchers

Oz Soffy avatar  avatar

aipages's Issues

Looking for credits for free cloud services

Compare AWS / GCP / AZURE
https://www.argonaut.dev/blog/cloud-credits-comparison

We need credits before we go live with MVP or something that actually needs works.

For POC we can go with something as cheap as Linode and upload it all to a single server (will be slow and will take time to convert to cloud service/micro-service)

Find what they need?

@ozsoffy

Microsoft for Startups:
https://www.microsoft.com/en/startups

Google for Startups:
https://startup.google.com

AWS startups:
https://aws.amazon.com/startups

AWS Activate Console:
https://aws.amazon.com/activate/console/

Research running chatbot for diffent websites (multi chatsbots)

Are we going to need a different server for each website we implement it??
Every website has different story , flow , actions , how do I implement it for multiple websites?
When should I worry about it ?

There's no way I need to install a different server/service for each website/story/flow !!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.