From d6c20cc16ff6172298932d40ecf4dfcc0b0bb5e9 Mon Sep 17 00:00:00 2001 From: niltonheck Date: Mon, 9 Sep 2024 16:34:25 -0300 Subject: [PATCH] chore: update docs for Kotlin --- .../docs/cloud/answer-engine/creating-an-answer-session.mdx | 6 +++++- .../content/docs/cloud/performing-search/official-sdk.mdx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/content/docs/cloud/answer-engine/creating-an-answer-session.mdx b/packages/docs/src/content/docs/cloud/answer-engine/creating-an-answer-session.mdx index aa96191be..604d210a6 100644 --- a/packages/docs/src/content/docs/cloud/answer-engine/creating-an-answer-session.mdx +++ b/packages/docs/src/content/docs/cloud/answer-engine/creating-an-answer-session.mdx @@ -1008,7 +1008,11 @@ The `.askStream` method returns an async iterator that yields chunks of the answ ```kotlin copy val answer = answerSession.askStream(AskParams( query = "What is Orama?" - )) + ), this) + + answer.incoming { + println(it) + } ``` diff --git a/packages/docs/src/content/docs/cloud/performing-search/official-sdk.mdx b/packages/docs/src/content/docs/cloud/performing-search/official-sdk.mdx index 59d992313..e4ad9c811 100644 --- a/packages/docs/src/content/docs/cloud/performing-search/official-sdk.mdx +++ b/packages/docs/src/content/docs/cloud/performing-search/official-sdk.mdx @@ -86,7 +86,7 @@ repositories { mavenCentral() } -val oramaClientVersion = "0.0.2" +val oramaClientVersion = "0.0.3" dependencies { implementation "com.orama:oramacloud-client-kotlin:${oramaClientVersion}"