AI Integration API with OpenAI

Hi community,

To enable and empower my data with AI in board, I am looking for a step by step guide on how to set up an API with OpenAI to analyse my data with the big language model ChatGPT and get the text response in board (text cube). I know it's possible, but I haven't found a guide on the forum on how to set it up.
Perhaps someone else in the community has built this use case and could explain to me how to set it up.
Thank you very much!

Answers

  • Samson Sunny
    Samson Sunny Employee, Community Captain
    100 Comments Third Anniversary 25 Likes 5 Answers

    Hi @SKö ,

    I haven't tried this myself but you could do the following:-

    Use Board Public API queries to export the data, provided Open AI is able to consume the endpoint and the authentication must comply with OAuth 2.0 client credentials.

    https://platform.openai.com/docs/api-reference/authentication

    Then after your analysis create a data source connection to OpenAI using the OpenAI API key and import the data into Board using the REST API call and then use the ascii data reader to read it into the text cube.