Interface SupportsTextGeneration

    • Method Detail

      • generate

        String generate​(String systemPrompt,
                        String userInput)
        Generates text based on a system-level prompt and a user-provided input message. Returns a JSON string conforming to the output schema declared by the calling AI function.