Skip to content

Commit

Permalink
Merge pull request #13 from PatilShreyas/v0.9.0-1.0.1
Browse files Browse the repository at this point in the history
[Fix conversion bug] Release v0.9.0 1.0.1
  • Loading branch information
PatilShreyas authored Sep 21, 2024
2 parents e6565f0 + a103273 commit 5a960f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Supports the following Kotlin Multiplatform targets:
- [x] iOS
- [x] JVM
- [x] JS
- [x] Wasm (_Use this [version](https://github.com/PatilShreyas/generative-ai-kmp/releases/tag/v0.9.0-1.0.0-wasm)_)
- [x] Wasm (_Use this [version](https://github.com/PatilShreyas/generative-ai-kmp/releases/tag/v0.9.0-1.0.1-wasm)_)

## Installation and usage

Expand All @@ -59,7 +59,7 @@ The versioning scheme is of the form `X-Y` where:

X is the _Generative AI Android SDK_ version that is being tracked.
Y is the _Multiplatform SDK_ version.
For example, if _Generative AI Android SDK_ is on `0.9.0` and _Multiplatform SDK_ is on `1.0.0`, the artifact for a release will be `dev.shreyaspatil.generativeai:generativeai-google:0.9.0-1.0.0`.
For example, if _Generative AI Android SDK_ is on `0.9.0` and _Multiplatform SDK_ is on `1.0.1`, the artifact for a release will be `dev.shreyaspatil.generativeai:generativeai-google:0.9.0-1.0.1`.

## Try sample app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ internal fun dev.shreyaspatil.ai.client.generativeai.type.GenerationConfig.toInt
candidateCount = candidateCount,
maxOutputTokens = maxOutputTokens,
stopSequences = stopSequences,
responseMimeType = responseMimeType,
responseSchema = responseSchema?.toInternal(),
)

internal fun dev.shreyaspatil.ai.client.generativeai.type.HarmCategory.toInternal() =
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
GROUP=dev.shreyaspatil.generativeai
VERSION_NAME=0.9.0-1.0.0
VERSION_NAME=0.9.0-1.0.1

POM_DESCRIPTION=Google's Generative AI Multiplatform SDK

Expand Down

0 comments on commit 5a960f2

Please sign in to comment.