Skip to content

che-incubator/devfile-development-ai-assistant

Repository files navigation

Devfile Development AI Assistant

Welcome to the Devfile Development AI Assistant repository! This project uses the OpenAI API to provide an intelligent assistant designed to support developers in managing and understanding devfiles effectively.

Description

The Devfile Development AI Assistant is crafted to enhance the developer experience by offering real-time assistance with devfiles. By leveraging the capabilities of OpenAI's language models, this assistant can answer complex queries, assist in troubleshooting, and suggest best practices related to devfiles.

ChatGPT

You can use the assistant in ChatGPT form.

Getting Started

Prerequisites

  • Python 3.6 or later
  • An active OpenAI API key
  • Access to a Kubernetes cluster

Installation

  1. Clone this repository:
    git clone https://github.com/che-incubator/devfile-development-ai-assistant.git
  2. Navigate to the repository directory:
    cd devfile-development-ai-assistant
  3. Build the application image:
    ./build.sh --image <IMAGE>
  4. Deploy the assistant to your Kubernetes cluster:
    ./deploy.sh --namespace <NAMESPACE> --image <IMAGE> --openai-api-key <OPENAI_API_KEY>

Usage

Once deployed, interact with the assistant inside your Kubernetes cluster by accessing service:

curl -X POST -d '{"message": "Provide a devfile"}'  -H "Content-Type: application/json" http://devfile-assistant.<NAMESPACE>.svc:9000/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published