Raiff1982 commited on
Commit
7f1117a
·
verified ·
1 Parent(s): 0a49a59

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +12 -0
main.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import asyncio
2
+ from ai_system.ai_core_agix import AICoreAGIX
3
+
4
+ async def main():
5
+ ai_core = AICoreAGIX(config_path="config.json")
6
+ query = "What will be the next breakthrough in AI?"
7
+ response = await ai_core.generate_response(query, user_id=1)
8
+ print(response)
9
+ await ai_core.http_session.close()
10
+
11
+ if __name__ == "__main__":
12
+ asyncio.run(main())