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



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

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

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/ChatGPTSwiftUI/tree/add-palm-chat-llm-provider

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

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

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

Build SwiftUI ChatGPT series Playlist:
https://www.youtube.com/playlist?list=PLuecTl5TrGws7XyrBor8T0DoboJk6PBW0

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

Comments are closed.