Spaces:
Paused
Paused
| import asyncio | |
| from ai_system.ai_core_agix import AICoreAGIX | |
| async def main(): | |
| ai_core = AICoreAGIX(config_path="config.json") | |
| query = "What will be the next breakthrough in AI?" | |
| response = await ai_core.generate_response(query, user_id=1) | |
| print(response) | |
| await ai_core.http_session.close() | |
| if __name__ == "__main__": | |
| asyncio.run(main()) | |