Share feedback, ideas and get community help

M
Magick
Offline, last seen 3 months ago
Joined September 13, 2024
M
Magick
·

Postgres schema

Hello

Is it possible to install Typebot into a specific schema? By default it is using the public schema. I'd like to install it into its own dedicated schema.
1 comment
M
Hello

I'm just curious, is it possible to write chat graphs in Typescript?
2 comments
B
Hello
I'm wondering if it is possible to present the user options from which they can make multiple selections, basically like a checkbox group in a traditional form?

Thanks
1 comment
B
Hello

I have an api that I can call in a chat flow. The response from this api is like this (in typescript)

Plain Text
export type Questions = {
    data:  Datum[];
    error: null;
}

export type Datum = {
    question_id:        number;
    parent_question_id?: number | null;
    title:              string;
    sub_title?:          null;
    description?:        null;
    body?:               string;
    answer_type:        AnswerType;
    options:            Option[];
}

export type AnswerType = "multiple_choice";

export type Option = {
    option_id:   number;
    option_text: string;
}

Basically, its an array of questions that have multi choice options.

My first thought was that I would need write a loop that has a condition based on the length of the array.

Then I was thinking maybe its easier to dynamically generate the entire chat flow.
6 comments
B
t
M