Thanks to visit codestin.com
Credit goes to github.com

Skip to content

agg23/openai-kotlin

 
 

Repository files navigation

OpenAI API client for Kotlin (fixed for using Gemini API)

Maven Central License Documentation

Kotlin client for OpenAI's API with multiplatform and coroutines capabilities, which fixed all errors when using Gemini API.

Forked from aallam/openai-kotlin

📦 Setup

  1. Install OpenAI API Kotlin client by adding the following dependency to your build.gradle file:
repositories {
    mavenCentral()
}

dependencies {
    implementation "org.simpmusic.gemini-kotlin:openai-client:<latest-version>"
}
  1. Choose and add to your dependencies one of Ktor's engines.

Everything is the same with aallam/openai-kotlin. Only changing the namespace of the dependencies to org.simpmusic.gemini-kotlinand and fixing this issue Error when using Gemini OpenAI API · Issue #412 · aallam/openai-kotlin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%