Class Prompt

  • All Implemented Interfaces:

    
    public class Prompt
    
                        

    Represents a prompt (an input text sent to the LLM). A prompt usually contains instructions, contextual information, end-user input, etc. A Prompt is typically created by applying one or multiple values to a PromptTemplate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Prompt(String text) Create a new Prompt.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description