- Preparing search index...
- The search index is not available
@bemoje/source
- getUserPrompt(settings, systemMessage, placeholder, prompt?): Promise<{
input: string;
instruction: string;
temperature: number;
}>
-
Parameters
-
-
systemMessage: string[]
-
placeholder: string
-
Optional
prompt: string
Returns Promise<{
input: string;
instruction: string;
temperature: number;
}>
This function gets the prompt data.