Skip to content

aleixvilaseca/chatgpt-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites:

  • create a virtual env 'python3 -m venv myenv'
  • activate virtual environment 'source /bin/activate' -- bash/zsh --
  • install requirements 'pip install -r requirements.txt'

Executable

  • In the top level of the project executable 'python3 gpt3_script.py'

Create an image

  • 'docker build -t <image_name> .'

Stand up the container and see the result in output log

  • 'docker run -d -p 8080:8080 image:latest'

  • 'docker logs -f <container_id>'

run as kubernetes pod & run service

  • 'kubectl apply -f chatgpt.yaml'
  • 'kubectl apply -f chatgpt-service.yaml'

About

testing AI chat-gpt3 using docker & k8s

Resources

Stars

Watchers

Forks

Packages

No packages published