lang.natural
Module lang.natural
API
Declarations
Definitions
The lang.natural module defines the implementation of natural expressions.
Denotes that the body of a function has to be generated at compile-time.
Type representing implementations that generate values for natural expressions.
function generate(Prompt prompt, typedesc<anydata> td) returns td|error
Generates a value of the specified type based on the given prompt.
Prompt
Raw template type for prompts.
Import
import ballerina/lang.natural;
Other versions
2201.13.2
Metadata
Released date: about 5 hours ago
Version: 2201.13.2
Compatibility
Platform: any
Ballerina version: 2201.13.2
GraalVM compatible: Yes