Showing results for November 2023 - Surface Duo Blog

Nov 30, 2023
0
0

OpenAI Assistant on Android

Craig Dunn
Craig Dunn

Hello prompt engineers, This week we’re continuing to discuss the new Assistant API announced at OpenAI Dev Day. There is documentation available that explains how the API works and shows python/javascript/curl examples, but in this post we’ll implement in Kotlin for Android and Jetpack Compose. You can review the code in this ...

openaichatgpt
Nov 23, 2023
0
0

Test the latest AI features in Kotlin

Craig Dunn
Craig Dunn

Hello prompt engineers, Last week we looked at one of the new OpenAI features – Assistants – in the web playground, but good news: the OpenAI Kotlin library is already being updated with the new APIs and you can start to try them out right now in your Android codebase with snapshot package builds. With a few minor configuration ...

openaichatgpt
Nov 18, 2023
0
0

OpenAI Assistants

Craig Dunn
Craig Dunn

Hello prompt engineers, OpenAI held their first Dev Day on November 6th, which included a number of new product announcements, including GPT-4 Turbo with 128K context, function calling updates, JSON mode, improvements to GPT-3.5 Turbo, the Assistant API, DALL*E 3, text-to-speech, and more. This post will focus just on the Assistant API ...

openaichatgpt
Nov 12, 2023
0
0

Chunking for citations in a document chat

Craig Dunn
Craig Dunn

Hello prompt engineers, Last week’s blog introduced a simple “chat over documents” Android implementation, using some example content from this Azure demo. However, if you take a look at the Azure sample, the output is not only summarized from the input PDFs, but it’s also able to cite which document the answer is drawn from (...

openaichatgpt
Nov 3, 2023
0
0

Document chat with OpenAI on Android

Craig Dunn
Craig Dunn

Hello prompt engineers, In last week’s discussion on improving embedding efficiency, we mentioned the concept of “chunking”. Chunking is the process of breaking up a longer document (ie. too big to fit under a model’s token limit) into smaller pieces of text, which will be used to generate embeddings for vector similarity ...

openaichatgpt