raulraja
06/11/2023, 5:54 PMimport com.xebia.functional.xef.auto.*
@Serializable
data class Book(val title: String, val author: String)
suspend fun AIScope.books(topic: String): List<Book> {
val prompt = buildPrompt {
+ "Give me a selection of books about the following topic:"
+ topic
}
return prompt(prompt)
}
Next items in our roadmap are modules for loading local models, and distributed inference and training.
I wanted to give a special thank you to everyone working in Kotlin Multiplatform which is enabling Xef to run in so many places with ease. 🙏