앱에 제너레이티브 AI 추가하기

  • Learn some options for adding a text generating AI (chatbot) to your digital solution
  •  Learn some options for adding image generating AI to your digital solution

이 단원의 활동은 다음과 같습니다:

GEN AI 구성 요소

While we have covered how to build a machine learning model that will classify images, sound, and text, there is another way to bring AI to your digital solution. You can basically embed a chatbot like ChatGPT or Gemini into your solution so your users can take advantage of that AI power. 

Generative AI components allow the solution to create new, original content in response to user input, rather than simply retrieving or displaying existing information. These components are typically powered by advanced machine learning models—such as large language models for text and diffusion models for images. So, essentially you are using a pre-trained model when using a GenAI component in your solution.

When integrated into a digital solution, they can take many forms. Here are some examples:

  • 개인화된 답변을 제공하는 AI 챗봇입니다,
  • 텍스트 초안을 작성하거나 편집하는 글쓰기 도우미입니다,
  • 이미지를 생성하는 창의적인 도구
  • 콘텐츠를 요약, 번역 또는 사용자의 필요에 맞게 조정하는 생산성 기능입니다.

ADDING GENAI TO YOUR DIGITAL SOLUTION

거의 모든 코딩 플랫폼이나 언어에 생성형 AI 챗봇이나 이미지 생성기를 추가하는 방법이 있습니다. 

  • 앱 인벤터 챗봇과 이미지봇 구성 요소를 쉽게 추가하고 코딩할 수 있습니다.
    • 챗봇 - 테스트 목적으로 MIT를 통해 일정량의 무료 토큰에 액세스할 수 있는 기본 옵션을 사용할 수 있습니다.
    • 이미지봇 – 이미지봇을 사용하려면 비용이 드는 OpenAI API 키에 가입해야 합니다.
  • Thunkable 에는 프로젝트에 추가하여 OpenAI 챗봇 기능을 사용할 수 있는 OpenAI 서비스가 있습니다.
    • OpenAI 서비스를 사용하려면 비용이 드는 OpenAI API 키를 설정해야 합니다. 가입 시 무료 크레딧을 받을 수 있습니다.
  • 파이썬, 자바, 자바스크립트와 같은 텍스트 기반 언어 에는 대규모 언어 모델을 활용할 수 있는 다양한 옵션이 있습니다. 검색을 통해 테스트 및 교육 목적으로 무료 옵션이 있는 LLM API를 찾을 수 있습니다.
    • Google AI Studio에서 Gemini API 무료 액세스 제공
    • Hugging Face는 추론 API를 통해 텍스트용 대규모 언어 모델(LLM)과 이미지용 확산 모델에 대한 접근을 제공합니다.
    • Github의 무료 LLM API 리소스 전체 목록

The activity below uses MIT App Inventor as the coding platform. If you want are interested in adding an AI chatbot to a solution using a text-based language, try this tutorial, Flip the Switch (React/Javascript) or this tutorial, JusticePath (Python/Streamlit). 

활동: 개인 튜터 앱

예상 시간: 45분

동영상 튜토리얼을 따르세요.

MIT 앱 인벤터를 사용하여 개인 튜터 역할을 하는 챗봇 앱을 만드세요. 하루에 제한된 수의 토큰/프롬프트에 대해 제공되는 기본 API는 비용을 지불하지 않고도 사용할 수 있습니다.
튜토리얼 보기

돌아보기 

You have learned about some ways to include generative AI features in your digital solution. 

Can your users benefit from having a generative AI feature in your solution?

Sunset and reflection over lake

주요 용어 검토

  • 생성형 인공지능 – 텍스트, 이미지, 사운드와 같은 콘텐츠를 생성할 수 있는 기술
  • 대규모 언어 모델 - 방대한 양의 데이터를 사용하여 학습된 텍스트를 예측하고 생성하는 AI 모델입니다.
  • 확산 모델 – 수백만 장의 이미지로 먼저 학습한 후, 이들에게 노이즈를 추가하고 패턴을 학습하여 노이즈를 제거함으로써 새로운 이미지를 생성하는 AI 모델
  •  

추가 리소스

Want to explore some more ways to add generative AI to your solution?