Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Taiwan Cloud Conference 2024 kintone Workshop

Taiwan Cloud Conference 2024 kintone Workshop

Taiwan Cloud Conference 2024 で行ったkintoneワークショップのスライドです(一部加工)

kintoneGeeks

August 26, 2024
Tweet

More Decks by kintoneGeeks

Other Decks in Programming

Transcript

  1. AIs, APIs, and Closed Systems Using a meeting minutes summary

    integration to explain AI design patterns By Sean Luse @ Cybozu
  2. Sean Luse Developer Advocate at Cybozu Working with Kintone 34

    Years Old Born in America Living in Japan for 10 years Have a baby Baby eats things she shouldn’t, like socks
  3. What will we be doing today? Part one 1. Talk

    about closed systems 2. Show off Kintone 3. Demo the example app (generating meeting minutes with open API) 4. Go over the code of the example app Part two 1. Talk about app integration 2. Talk about Portal and Guardian design pattern 3. Demo the second app(s) 4. Q&A
  4. ? Part one 1. 2. Kintone 3. AI 4. 查看範例應用程式的程式

    Part two 1. ? 2. Portal and Guardian ? 3. 4. Q&A
  5. Closed Systems • Non public facing • Access is controlled

    • Data can only be added in certain ways / formats • Integration depends on platform • In the end, many allow scripting with JavaScript anyways… (logo of other cloud services) (logo of other cloud services) (logo of other cloud services) (logo of other cloud services)
  6. Closed Systems • • • • • JavaScript (logo of

    other cloud services) (logo of other cloud services) (logo of other cloud services) (logo of other cloud services)
  7. Quick kintone Introduction kintone is a groupware platform for managing

    data. kintone works to keep data, and the conversations about that data all in one place.
  8. No-Code Low-Code • Drag and Drop App Building • User

    Management and Access Privileges by Department • Guest Spaces • Mentions and Comments • Fully JS Customizable • Webhook Support • Oauth / SAML Auth Support • User Provisioning • Plugin Support for extensibility
  9. What is customized today? • Button in App • OpenAI

    API Call • Loading Spinner • Reloading the page when done • Success and Failure Popups kintone OpenAI API User Auth Database Creation File Management
  10. ? • • OpenAI API • ( • • kintone

    OpenAI API User Auth Database Creation File Management
  11. 1. Fetch the file key from the Kintone record 2.

    Use the file key to retrieve the meeting minutes text file 3. Get the text content of the file 4. Send the text content to the OpenAI Completion API with a prompt 5. Await the response 6. Use the response content to update our database record
  12. Normal App Integration in Systems APP APP APP Service 1

    Service 2 Service 3 API API API API
  13. What would a “Portal and Guardian” design look like? APP

    APP APP Service 2 API Service 1 Service 3 API API Portal App with AI Guardian
  14. Some Merits of the Portal and Guardian Design Pattern •

    Less in-roads to your system • AI can do a “best-effort” categorization for any content • With more effort, the AI can create new database / repositories for new data • A guardian can be trained to know your organization, and merge data from different sources into one app