Skip to content

Krishna GPT: This iOS AI app, influenced by the teachings of the Bhagavad Gita, provides answers with a spiritual perspective to help you uncover hidden truths.

Notifications You must be signed in to change notification settings

saurabhdave/KrishnaGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

KrishnaGPT SwiftUI iOS App

Krishna GPT: This SwiftUI MVVM based app, influenced by the teachings of the Bhagavad Gita, provides answers with a spiritual perspective to help you uncover hidden truths. Get your answers in 6 different languages English, Hindi, French, German, Mandarin and Spanish.

This project offers an AI-powered online Bhagavad Gita experience. Based on the 18 chapters and 700 shlokas, it provides moral, strength, discipline, and spiritual guidance to help alleviate Arjuna's troubles.

Check Out app video on YouTube: https://www.youtube.com/shorts/3f2n_mS1DTs

UPDATE

It's using Official ChatGPT API endpoints with gpt-3.5-turbo model

Supported Platforms

  • iOS 15 and above

Requierements

  • Xcode 14
  • Register for API key from OpenAI
  • Create API Key
  • Paste API key in KrishnaGPTApp file where the ChatGPTAPI instance is declared
let api = ChatGPTAPI(apiKey: "API_KEY")

optionally, you can provide the system prompt, temperature, and model. Default values for these parameters are:

public init(apiKey: String,
        model: String = "gpt-3.5-turbo",
        systemPrompt: String = "You are a helpful assistant",
        temperature: Double = 0.5)

To learn more about those parameters, you can visit the official ChatGPT API documentation and ChatGPT API Introduction Page

How it works

This initiative employs the OpenAI GPT-3 API, specifically the text-davinci-003, in a streaming manner. It formulates a prompt based on the user's input and the desired format, then forwards it to the GPT-3 API. The received response is then streamed back to the app.

About

Krishna GPT: This iOS AI app, influenced by the teachings of the Bhagavad Gita, provides answers with a spiritual perspective to help you uncover hidden truths.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages