Git Product home page Git Product logo

ansible-wca-demo-kit's Introduction

IBM watsonx Code Assistant repository for Red Hat Ansible Lightspeed demo

This repository contains examples which you can use to test out the capabilities of IBM watsonx Code Assistant for Ansible Lightspeed.

With this VM demo you can test:

  • Inferencing from natural language requests.
  • Single-task and multi-task content generation for Playbooks
  • Content source matching and transparency.

Getting started

Step 1: Setup your environment

  1. IBM Sellers/Client have to provision a VM at https://techzone.ibm.com/collection/watsonx-code-assistant/journey-code-assistant-for-ansible-lightspeed

  2. Update your working directory (/home/techzone/Documents/ansible-wca-demo-kit) with the latest examples: Perform git fetch & git pull on the VS Code terminal.

  3. Each example has its own README.md to help give context. You can follow the instructions within the README.md or the individual YAML files.

Step 2: Trying out examples

We have uploaded few basic scenarios which gives you an idea on how watsonx Code Assistant can interpret the natural lanuguage in prompts and further by uncommenting and hitting Enter, you can get content suggestions. To accept the content suggested, hit Tab.

Step 3: Testing Single-task and Mutli-task Playbook content generation

Traditional Playbook writing experience

In your Playbook writing experience, you usally tend to write it in a step-by-step approach. You write the single-tasks one after the other.

Speed up Playbook writing with Single-task & Multi-task content generation

  • The Generative AI capabilities of watsonx Code Assistant will enable you complete your IT Automation in Playbook faster.
  • Simply provide your intent in plain English language and watsonx Code Assistant will return the content suggestion for it.
  • In the below example we show single-task prompt and the recommendation by watsonx Code Assistant:

  • Now, take it to the next level by giving all the IT Automation instructions/tasks together. Type in all the individual tasks below the tasks parameter by separating it with an &. You should comment the line in order for watsonx Code Assistant to interpret the prompt.
  • In the below example we show multi-task prompt and the recommendation by watsonx Code Assistant:

This comment line now acts as a prompt to the watsonx Code Assistant.

Step 3: Going beyond examples

  • Now that you know how watsonx Code Assistant can interpret the prompts, you can start framing your IT Automations in a sentance and just hit Enter
  • You can test your own scenarios by writing new playbooks and modifying the prompts the way you like it.

FAQ

  1. Who are the main audience for this demo setup? ONLY IBM INTERNAL. IBM Sellers & IBM Client Engineering teams. To provision a VM go to: https://techzone.ibm.com/collection/watsonx-code-assistant/journey-code-assistant-for-ansible-lightspeed
  2. What is the purpose of this demo setup? This technical content can help you get acquainted with watsonx Code Assistant's features and provide you an opportunity for a live demo to clients
  3. Even after logging into the VM, it asks me to re-authenticate. Which credentials to provide? The same credentials you input to connect to the VM

Stay connected

Reach out to the watsonx Code Assistant team on the IBM internal slack channel on IBM Software workspace:

  • #wca-ansible-techzone-support: Use this slack channel to discuss/ask for support/feedback specifically on TechZone Demo.
  • #watsonx-code-assistant: Use this slack channel to ask questions and get the latest updates around IBM watsonx Code Assistant.

Thank You

Thanks Pete Nuwayser, Craig Brandt for helping in curating these examples. Some examples Forked from https://github.com/craig-br/lightspeed-demos

ansible-wca-demo-kit's People

Contributors

chetan-hireholi avatar clazzaro avatar

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.