Add Google PaLM2 Chatbot to ChatGPT SwiftUI App & Multi LLM Support | iOS, macOS, watchOS, tvOS

Опубликовано: 16 Октябрь 2024
на канале: Xcoding with Alfian
1,196
40

In this video, we will be adding PaLM Chatbot using Google Generative AI SDK and support for Multi LLM Providers so users can select select ChatGPT or PaLM API as the LLM Chatbot. #swiftui #palm2 #palmapi #chatgpt #iosdevelopment #chatbot

Timeline:
00:00:00 Introduction & Demo
00:02:12 Starter Project Setup
00:02:58 LLM Models
00:11:03 LLMClient Base protocol for ChatGPTAPI & PaLMChatAPI integration
00:25:38 Update ViewModel to use LLMClient protocol
00:39:32 Add PaLM image set o XCAssets
00:40:14 Create LLMConfigView landing View
00:51:25 Update iOS App Main Entrypoint
01:01:18 Update macOS App Main Entrypoint
01:08:18 Update watchOS App Main Entrypoint
01:13:54 Update tvOS App Main Entrypoint
01:18:23 Closing

Tutorial Links:

Starter Project:
https://github.com/alfianlosari/ChatG...

Completed Project commit diff changes:
https://github.com/alfianlosari/ChatG...

Google Generative AI SDK SPM Repo:
https://github.com/google/generative-...

PaLM API Website:
https://developers.generativeai.google/

Build SwiftUI ChatGPT series Playlist:
   • Build ChatGPT SwiftUI Multiplatform A...  

When I Was A Boy by Tokyo Music Walker |   / user-356546060  
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY 3.0
https://creativecommons.org/licenses/...