BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    Converts natural-language input to BIM.works actions.

    Index

    Constructors

    Methods

    Constructors

    • Returns Ai

    Methods

    • Convert natural language to a BIM.works Action. Nothing runs and nothing is saved.

      Parameters

      • text: string

        The input text, can be any language

      • Optionaltranscription: string

        Optional additional transcription, can be useful to supply when the text is actually a translation from an original other language

      • Optionalmodels: Iterable<string, any, any>

        Optional models, when models are supplied part of the information in the models will be sent to the LLM

      • Optionaltype: "QUERY3" | "BVL" | "CHECK3" | "IDS"

        Optional type that can be supplied to only get results of a certain type

      Returns Promise<TextToActionResult>

      The action; rejects when AI is off, the AI feature is missing or the model gave no valid action