Prompts

Private project - Prompts menu

The Prompts menu within Private project serves as a dedicated inventory for all your prompts, irrespective of their current status. Consider it your personal repository for saving and organizing the prompts you've crafted.

Prompts-Menu_Detailed_View

How to Create a New Prompt

In the context of AI and machine learning, a prompt is an instruction, question, or statement that is given to an AI model to elicit a response or output. It serves as the initial input for systems like conversational agents or generative models.

  1. Click the + Prompt button located on the top right of the Prompts menu. This action will navigate you to the Configuration tab, where you can define and set up your new prompt.
  2. Within the Configuration tab, you will need to fill in the mandatory fields: Name, Description, and Context.
    • Name: Provide a clear and concise name for your prompt to easily identify it later.
    • Description: Add a brief explanation of the prompt's purpose or intended use.
    • Context: Enter the foundational information or instructions that will guide the AI model's responses. This is a crucial step in defining the scope and behavior of your prompt.
  3. After filling in the required information, click the Save button to create your prompt.

Note: The Name and Description fields are non-editable after the prompt is saved. Ensure you have entered the correct information before saving. While creating your prompt in the Configuration tab, you can also configure other settings like Tags, Welcome Message, Conversation Starters, and Messages to further customize your prompt's behavior and interaction flow.

Prompts-Create_New_Prompt

After creating a prompt and saving it, the prompt's interface will be organized into three distinct tabs, each serving a specific purpose in managing and utilizing your prompt:

Note: Changes made within both the Run and Configuration tabs can be either saved to update the prompt or discarded to revert to the previous state, providing flexibility and control over your prompt configurations.

Tags

In ELITEA, Tags are a powerful organizational tool that allows you to categorize and manage your collection of prompts, datasources, and agents effectively. Think of them as labels that help you quickly identify and group related items. By assigning relevant tags to each prompt, you create an intuitive labeling system that significantly simplifies access and retrieval. This is particularly beneficial when you have a large number of prompts covering various topics or use cases. You can later filter your prompts by these tags, making it easy to find the precise prompt you need without sifting through an extensive list.

Adding Tags to Your Prompt:

  1. Locate the Tags input box within the Configuration tab.
  2. Begin typing a tag name. As you type, you may see suggestions for pre-existing tags. You can either select one of these suggestions or continue typing to create a new tag.
  3. To finalize a tag, click the Enter key. This will add the tag to your prompt.
  4. Click the Save button to save the prompt with the selected tags.

Note: You have the flexibility to assign one or more tags to each prompt, allowing for a multi-dimensional labeling system. This means a single prompt can be associated with multiple categories, enhancing its discoverability.

Prompts-Create_a_Tag

CONTEXT

The Context field in ELITEA is a fundamental component where you provide the essential background information, instructions, and guidelines that direct the LLM in generating accurate and relevant responses. This section acts as the foundational knowledge base for the model, enabling it to understand and effectively process your specific requests. A well-defined context is crucial for achieving the desired output from the AI.

How to Effectively Input Context:

Note: For comprehensive guidance on crafting effective instructions for your prompts, please refer to the Prompting Frameworks document. This resource provides valuable strategies and examples to help you optimize your prompts for better results.

Editability and Version Control

You can edit the Context field at any time to update or refine the instructions:

These features allow you to adapt and improve the instructions as needed, ensuring the responses remain relevant and accurate.

MESSAGES

The MESSAGES section is a powerful feature that allows you to meticulously structure the flow of interaction within a prompt by defining specific roles and content for different participants in the conversation. This section is crucial for creating more complex and nuanced interactions with the LLM model.

The MESSAGES utilizes three distinct message types:

These message types work in concert to create a structured and meaningful dialogue. The System Message establishes the framework, the User Message initiates and guides the conversation flow, and the Assistant Message provides the content of the interaction, all contributing to a coherent and purposeful exchange.

Understanding the Message Types:

System Message: "You are a helpful AI assistant specialized in providing concise summaries of scientific articles. Focus on extracting the main findings and conclusions."
User Message: "What is the main finding of this article?"
Assistant Message: "The main finding of the article is that..."
User Message: "Summarize the methodology section."

Managing Messages:

To enhance the interactivity of a prompt, you can add multiple messages of any type by clicking the + icon, selecting the desired message type from the dropdown, and providing the relevant content.

You also have the flexibility to manage the order and content of your messages:

Prompts-System_Messages

WELCOME MESSAGE

The Welcome Message feature allows you to provide an initial message or instruction that is displayed to the user when they interact with the prompt, datasource, or agent. While currently sent to the LLM along with other instructions, it primarily serves as a way to communicate specific guidance or information to the user before they begin interacting with the prompt.

Adding a Welcome Message:

  1. Locate the Welcome Message input field within the Configuration tab.
  2. Type the desired welcome message text into the input field. This could be instructions, reminders, or any other information you want the user to see.
  3. Click the Save button to save the configuration. This will make the configured welcome message visible to the user in the Chat section.

How the Welcome Message is Used:

When a user navigates to the Chat section of the prompt, the configured Welcome Message will be displayed at the top of the chat interface. This provides an immediate notification or instruction, setting the stage for their interaction with the prompt.

Examples of Effective Welcome Messages:

Prompts-Welcome_Message

CONVERSATION STARTERS

The Conversation Starter feature empowers you to configure and add predefined text options that users can click to initiate a conversation or trigger a specific action when executing a prompt. This is particularly useful for guiding users and providing them with quick access to common or recommended interactions, ensuring a consistent and efficient starting point for their engagement with the prompt.

Setting Up Conversation Starters:

  1. Navigate to the Conversation Starter section within the Configuration tab.
  2. Click the + icon. This will open a text input field where you can type the text you want to use as a conversation starter.
  3. Enter the desired text for the conversation starter. This should be a clear and actionable phrase or question.
  4. Click the Save button to save the configuration. The configured conversation starter will now be available for users.

Using Conversation Starters to Initiate Interactions:

When a user goes to the Chat section of the prompt, they will see a list of the saved conversation starters. Clicking on a desired starter will automatically populate the chat input field with that text and execute the prompt, streamlining the process of initiating specific tasks or queries.

Examples of Effective Conversation Starters:

By providing these pre-defined options, you make it easier for users to understand the capabilities of the prompt and quickly initiate relevant interactions.

Prompts-Conversation_Starters

By setting up conversation starters, you streamline the process of initiating specific tasks or queries, making your interactions with the prompt more efficient and standardized.

VARIABLES

The Variables within prompts introduce a powerful layer of dynamic customization, allowing you to create flexible and reusable prompts that can be easily adapted to specific needs or contexts without requiring modifications to the core prompt structure. This feature significantly enhances the versatility and efficiency of your prompts.

Understanding Variables:

Variables are placeholders within your prompt's Context or Messages that are denoted by double curly brackets, for example, {{user_story}}. These placeholders represent information that might change depending on the specific use case.

How Variables Work:

  1. Define Variables in Context or Messages: Begin by identifying the elements within your Context or Messages that you want to make dynamic. Replace these static values with variable placeholders using the {{variable_name}} syntax. Choose descriptive names for your variables to easily understand their purpose.
  2. Automatic Population in the Variables Section: Once you define a variable in the Context or Messages, it will automatically appear in the VARIABLES section located below.
  3. Assign Values to Variables: In the VARIABLES section, you can assign specific values to each defined variable. This is where you provide the actual data that will replace the placeholder when the prompt is executed.

This process empowers you to create prompts that can be easily adapted by simply changing the values of the variables, eliminating the need to rewrite the entire prompt for different scenarios.

Note: You have the flexibility to define one or more variables within each prompt. Variables can be defined in both the Context and Messages sections, providing flexibility in how you structure your dynamic prompts.

Prompts-Create_Variables

ADVANCED SETTINGS

For users who require more granular control over the AI model's behavior, ELITEA provides Advanced Settings. These settings allow you to fine-tune the parameters that influence the generation of responses. To access these settings, click the Gear icon on the Configurations tab or SETTINGS section under the Run tab.

The following advanced settings are available:

By carefully adjusting these Advanced Settings, you can tailor the AI's behavior to suit the specific requirements of your prompt and achieve the desired output characteristics. Experimenting with these parameters can significantly enhance the effectiveness and versatility of your interactions with ELITEA.

How to Execute Prompt

Once your prompt is configured, ELITEA offers two primary methods to execute it and obtain the desired output:

Executing a Prompt Using the Chat Option:

  1. Navigate to the Run Tab: After configuring your prompt, access the Run tab. This tab provides the interface for executing your prompt and adjusting runtime settings.
  2. Review Prompt Configuration: In the Run tab, you'll see a summary of your prompt's setup. Ensure the Context, Messages, and any defined Variables are as intended. If variables are present, provide or adjust their values as needed.
  3. Select the AI Model: Choose the desired AI model from the Model dropdown list. The available models (e.g., gpt-4-0125-preview, gpt-35-turbo) will influence the quality and nature of the generated responses.
  4. Adjust Basic Settings: You can quickly adjust the Temperature parameter to influence the creativity and predictability of the AI's responses. A lower temperature results in more focused and deterministic outputs, while a higher temperature encourages more creative and varied responses.
  5. Access Advanced Settings (Optional): For more fine-grained control over the AI's output, check the Advanced Settings. Here, you can adjust parameters like Top P, Top K, and Maximum Completion Tokens. Refer to the Advanced Settings section for detailed information on these parameters.
  6. Initiate Interaction: In the chat input box, type your question, statement, or command to initiate the conversation with the AI. This input serves as the starting point for the interaction.
  7. Send Your Message: Click the Send icon (often represented by a paper airplane or similar symbol) to submit your input to the AI model. ELITEA will process your request based on the prompt's configuration and the selected settings. The AI's response will then appear in the chat interface.

Prompts-Chat_Option

Additional Interaction Features:

Post-Output Actions:

Prompts-Chat_Output

Executing a Prompt Using the Completion Option:

  1. Navigate to the Run Tab: After configuring your prompt, access the Run tab. This tab serves as the central hub for executing your prompts and managing related settings.
  2. Review Prompt Configuration: In the Run tab, carefully review the prompt's setup, including the Context, Messages, and any defined Variables. Ensure everything is configured correctly for your desired outcome. If variables are present, provide or adjust their values as necessary.
  3. Select the AI Model: Choose the appropriate AI model from the Model dropdown list. The available models (e.g., gpt-4-0125-preview, gpt-35-turbo) offer different capabilities and performance characteristics, so select the one that best suits your needs.
  4. Adjust Basic Settings: You can quickly adjust the Temperature parameter to control the level of creativity and predictability in the AI's output. A lower temperature leads to more focused and deterministic results, while a higher temperature encourages more varied and creative responses.
  5. Access Advanced Settings (Optional): For more fine-grained control over the AI's output, check the Advanced Settings. Here, you can adjust parameters like Top P, Top K, and Maximum Completion Tokens. Refer to the Advanced Settings section for detailed information on these parameters.
  6. Select the Completion Option: Ensure that the Completion option is selected as the execution method. This is typically a radio button or a tab within the Run tab interface.
  7. Initiate Execution: Once you have reviewed the configuration and selected the Completion option, click the Run button. ELITEA will then process your prompt based on the defined settings and generate a single, complete output. The result will be displayed in the output area.

Prompts-Completion_Option

Managing Prompt Versions: Save, Create Versions, and Manage

To optimally manage your prompts, understanding how to save and create versions is crucial. Follow these guidelines to efficiently save your prompt, create versions, and manage them.

How to Save a Prompt:

Remember: The "latest" version represents the initial version you create. You can keep updating this version with your changes by saving them, without the need to create additional versions for your prompt.

How to Create New Versions:

For instances where you need to create and manage different iterations of your prompt:

  1. Initiate a New Version: Start by clicking the Save As Version button.
  2. Name Your Version: When saving your work, provide a version name that clearly identifies the iteration or changes made. Click Save to confirm your entry.

Best Practices for Version Naming:

Prompts-Save_Version

Upon creating a new version of the prompt, several options become available to you:

Prompts-Saved_Version

By following these steps, you can effectively manage the lifecycle and iterations of your prompts, ensuring that each version is appropriately saved, published, and utilized as per your requirements.

How to Publish a Prompt

To make your prompt available to the wider Epam Network and Communities, follow these steps for publication:

  1. Publishing Initiation: With your prompt crafted and saved, initiate the process by clicking the Publish button.
  2. Version Naming: Assign an informative version name (e.g., Gen-1.0) in the pop-up window. This name should encapsulate the essence or objective of the prompt, facilitating version management and future iterations.
  3. Review Submission: Finalize your submission by clicking Publish, forwarding your prompt for the moderation review process. This stage is vital to guarantee the prompts shared within the Epam community meet a standard of quality and relevance.

Prompts-Publishing

For publishing a specific version, firstly select the desired version and opt to publish. The chosen version's name appears in the "Publish version" pop-up window. It can be published as is or renamed before the final publication step.

Note: After publishing, the prompt can be retracted by selecting the Unpublish button.

Moderator Review Process

Submission to publication triggers a meticulous assessment by the moderators, tasked with ensuring prompt standards for quality, efficiency, and security are upheld.

Evaluative Steps Undertaken by Moderators:

  1. Initial Assessment: An initial examination confirms the prompt's completeness and adherence to the submission guidelines.
  2. Content Review: Evaluates the prompt’s relevance, clarity, compatibility with best practices, and information security.
  3. Practical Evaluation: Assesses the prompt's operational feasibility, including variables, system commands, and projected outcomes.
  4. Compliance Check: Final verification against community norms and security protocols, ensuring the protection of sensitive data.
Possible Outcomes of the Review

After the review process, a prompt can be categorized into one of the following statuses:

Tracking the Status of Prompts

Prompts undergo several statuses through the review phase:

Prompt Actions

ELITEA provides a set of convenient actions you can perform on your prompts to manage, share, and organize them effectively. These actions are easily accessible through dedicated icons associated with each prompt.

How to Import a Prompt

To use the prompts created in other projects, environments, follow these simple steps.

  1. Initiate Import: Select the Import option within ELITEA.
  2. Choose File: Browse and select the exported JSON prompt file.
  3. Complete Process: The prompt will be added under the Prompts section in ELITEA.
  4. Use Prompt: You can now access and utilize the imported prompt.

Prompts-Import_Alita

Note: ELITEA supports Jinja template. Make sure the content and variables in your prompt adhere to this format, especially avoiding spaces in variable names. For more information please check ELITEA and Epam AI Dial document.

Public project - Prompts menu

The Prompts menu within Public project showcases a collection of published and shared prompts within the community.

Layout of the Prompts Menu

The Prompts menu is organized into three distinct pages, each designed to offer a unique perspective on the available prompts:

Prompts-Menu_Public_Latest

Engaging with Published Prompts

Interaction within the community is highly encouraged to recognize and appreciate valuable prompts. The following actions enable active participation:

Liking Published Prompts

Upon publication, a prompt becomes a crucial resource for the community. To support and acknowledge a prompt, use the Like functionality:

Other Actions for Published Prompts

Executing Published Prompts:

Prompts-Executing_Published_Prompt

Adding Published Prompts to Collections:

Enhance your collections by including published prompts. Visit the How to Add Prompt into Collection section for instructions on incorporation.

Exporting Published Prompts:

For external use or backup, published prompts can be exported. Details on this process are found in the How to Export a Prompt section.