CodBi
    Preparing search index...

    This Element-Placeholder acquires the AI response to a question.

    • 1st — The question to ask the AI.
    • 2nd UseInternet"true" to enable Brave Search internet access. Default: "false".
    • 3rd Location"true" to enable geolocation access. Default: "false".
    • 4th Language — Language for the AI response (e.g. "German", "English"). Appends "Answer in {language}." to the question.
    • 5th ResponseLanguage — Two-letter ISO 639-1 code (e.g. "de", "fr"). Forces the AI to respond in this language, skipping auto-detection.
    • 6th Specialist — Name of a specialist model registered via AI_LLAMA_STD_SPECIALIST_XXX plugin property.
    • 7th FilterResults"true" to enable PII filtering on Brave Search queries.
    • 8th JsonParse"true" to parse the AI response as JSON. Default: "false".

    Initial Author: Callari, Salvatore (Callari@WaXCode.net) Maintainer: Callari, Salvatore (Callari@WaXCode.net)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Sends the question to the AI backend and resolves with the answer.

      Parameters

      • params: string[]

        The indexed parameters for this Element-Placeholder (provided by CodBi).

      Returns Promise<string | object>