Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix conversion bug] Release v0.9.0-1.0.1 #13

Merged
merged 3 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading