File size: 329 Bytes
570a557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import json
from EdgeGPT import Chatbot


async def main():
    bot = Chatbot()
    await bot.start()

    result = json.dumps(
        await bot.ask("Check GitHub for a repository names 'EdgeGPT'"), indent=4
    )
    print(result)

    await bot.close()


if __name__ == "__main__":
    import asyncio

    asyncio.run(main())