#python#agent_framework#data_analysis#deep_research#deep_search#llms#multi_agent_system#nlp#public_opinion_analysis#python3#sentiment_analysis
You can use the "Weibo Public Opinion Analysis System" (called "微舆") to automatically analyze public opinion from over 30 major social media platforms and millions of comments. It uses AI agents working together to monitor, search, analyze text and videos, and generate detailed reports based on real-time data. The system supports easy setup, custom models, and integration with your own databases, helping you understand public sentiment, trends, and make better decisions. It offers continuous monitoring, deep multi-angle analysis, and flexible report generation, all accessible by simply asking questions like chatting. This saves you time and gives clear insights into public opinion dynamics.
https://github.com/666ghj/BettaFish
🚀 Вышел стабильный 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