#typescript#agent#agent_platform#ai_plugins#chatbot#chatbot_framework#coze#coze_platform#generative_ai#go#kouzi#low_code_ai#multimodel_ai#no_code#rag#studio#typescript#workflow
Coze Studio is an easy-to-use, all-in-one platform for building AI agents and apps without needing much coding. It offers visual tools to design, debug, and deploy AI projects quickly using drag-and-drop workflows, plugins, and large language models like GPT-4. You can create smart assistants, chatbots, or custom AI apps with ready templates and manage models, knowledge bases, and plugins in one place. It supports no-code and low-code development, making AI accessible to both beginners and professionals, saving you time and effort in building powerful AI solutions tailored to your needs. It also supports multi-model integration and easy deployment.
https://github.com/coze-dev/coze-studio
🚀 Вышел стабильный JavaScript движок от Google для Android
Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде.
class MainActivity : ComponentActivity() {
// Теперь nullable, без lateinit
private var jsSandbox: JavaScriptSandbox? = null
private var jsIsolate: JavaScriptIsolate? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!JavaScriptSandbox.isSupported()) {
Log.e("JS", "JavaScriptSandbox не поддерживается")
return
}
lifecycleScope.launch {
// Создаём и сохраняем в nullable-поле
jsSandbox = JavaScriptSandbox
.createConnectedInstanceAsync(applicationContext)
.await()
jsIsolate = jsSandbox?.createIsolate()
// При выполнении гарантируем, что jsIsolate != null
val result: String = jsIsolate
?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING)
?.await()
?: "Ошибка: isolate не инициализирован"
Log.d("JS", "Результат выполнения: $result")
}
}
override fun onDestroy() {
super.onDestroy()
// Закрываем только если не null
jsIsolate?.close()
jsSandbox?.close()
}
}
#jetpack#js