Alita Code Chat

Alita Code Chat for VSCode is an auxiliary GUI for Alita Code, you can utilize the functionality of Alita Code and you can also chat with Alita HUB.

Pre-requisite

Alita Code Chat depends on Alita Code for VSCode. It can be installed through VS code's extension market: Alita Code.

Features list:

  • Chat with Alita directly. It will use the model settings set by Alita Code extension.
  • Type trigger chat to add participants to chat: / for prompt, # for datasources and @ for applications.

Note: Alita Code Chat doesn't support Chat History, in case of restarting VS Code, the Chat History will be cleaned.

Alita Code Chat Configuration

Alita Code Chat is a visual studio extension to work as chatting companion using Alita Code.

Installation

Getting started with Alita Code Chat is straightforward:

  1. Navigate to the Extensions section in VS Code.
  2. Search for Alita Code Chat in the Marketplace and click Install.

AlitaChat-Install

Note: After successful installation Alita Code Chat shortcut will be added to left menu of VS Code.

Alita Code Chat Usage

With Alita Code Chat set up, you can now:

  • Prompts - call and use prompts configured in ELITEA HUB.
  • Datasources - call and use datasources configured in ELITEA HUB.
  • Agents - call and use agents configured in ELITEA HUB.
  • Chat - is a specific type of input designed for conversational AI models, which aims to initiate or guide a dialogue. This can be in the form of a question, statement, or command that simulates human-like interaction, prompting the AI to produce a conversational response for engagement.

Important: To successfully call and utilize prompts, datasources, or agents from ELITEA HUB, it is essential that these items are tagged with code in ELITEA HUB. This tag ensures that the resources are correctly categorized and accessible. Ensure that the code tag is applied to relevant prompts, datasources, and applications to enable their proper functionality within the Alita ecosystem.

Additional Interaction Features:

  • Auto scroll to bottom: This option can be toggled on or off to automatically scroll to the bottom of the output as it is being generated. This feature is helpful during long outputs to keep the most recent content visible.
  • Reload Alita Code Settings: This option allows to reload and update Alita Code settings.
  • Stop generating: To stop generation of output.

Post-Output Actions:

  • Continue the Dialogue: To keep the conversation going, simply type your next question or command in the chat box and click the Send icon.
  • Copy the Output: Click the Copy to clipboard icon to copy the generated text for use elsewhere.
  • Delete Output: To remove the current output from the chat, click the Delete icon.
  • Purge Chat History: For a fresh start or to clear sensitive data, click the Clean icon to erase the chat history.

AlitaChat-Buttons

Prompts

To call and use Prompts from ELITEA HUB:

  1. Open the Alita Code Chat.
  2. Type / in the chat box.
  3. Select the prompt that you want to run.
  4. Once all instructions for the prompt are set in the Context and/or Messages sections, you can start the execution by typing your text (be it a question or a command) into the chat box. Use simple commands like "Go", "Start Generating", "Execute", or "Run it" and click the Send icon to begin. These commands signal the Gen AI to process the information and generate the desired output based on the configured settings.
  5. If you need to start a fresh conversation or prompt, simply click the X icon to clear the current setup and begin anew.

AlitaChat-Prompt_Select

Handling Variables:

  • Variable Input: If the selected prompt requires variables, a pop-up window will appear prompting you to input the necessary values.
  • Variable Configuration: You can adjust or update variable values at any time by clicking the Settings icon. This allows for dynamic changes to the prompt's behavior based on updated inputs.

AlitaChat-Prompt_Variable

Datasources

To call and use Datasources from ELITEA HUB:

  1. Open the Alita Code Chat.
  2. Type # in the chat box.
  3. Select the datasource that you want to run.
  4. Start conversation in the form of a question, statement, or command that simulates human-like interaction.
  5. If you need to start a fresh conversation or datasource, simply click the X icon to clear the current setup and begin anew.

AlitaChat-Datasource

Agents

To call and use Agents from ELITEA HUB:

  1. Open the Alita Code Chat.
  2. Type @ in the chat box.
  3. Select the application that you want to run.
  4. Start conversation in the form of a question, statement, or command that simulates human-like interaction.
  5. If you need to start a fresh conversation or application, simply click the X icon to clear the current setup and begin anew.

Chat

  1. Open the Alita Code Chat.
  2. Start conversation in the form of a question, statement, or command that simulates human-like interaction.