File size: 366 Bytes
7f1117a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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())