Interface StructuredPromptFactory

All Known Implementing Classes:
DefaultStructuredPromptFactory

public interface StructuredPromptFactory
Represents a factory for structured prompts.
  • Method Summary

    Modifier and Type
    Method
    Description
    toPrompt(Object structuredPrompt)
    Converts the given structured prompt to a prompt.
  • Method Details

    • toPrompt

      Prompt toPrompt(Object structuredPrompt)
      Converts the given structured prompt to a prompt.
      Parameters:
      structuredPrompt - the structured prompt.
      Returns:
      the prompt.