-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
18 lines (16 loc) · 775 Bytes
/
main.py
File metadata and controls
18 lines (16 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from uagents import Bureau, Context
from agents.IO_bot.IO_bot import IO_bot
from agents.pdf_parser_bot.pdf_parser_bot import pdf_parser_bot
# from agents.keyword_parser_bot.keyword_parser_bot import keyword_parser_bot
from agents.filtering_bot.filtering_bot import filtering_bot
if __name__ == "__main__":
bureau = Bureau(endpoint=["http://127.0.0.1:8069/submit"], port=8069) # Create a bureau to manage bot interaction
print(f"Activating {pdf_parser_bot.name}")
bureau.add(pdf_parser_bot)
# print(f"Activating {keyword_parser_bot.name}")
# bureau.add(keyword_parser_bot)
print(f"Activating {filtering_bot.name}")
bureau.add(filtering_bot)
print(f"Activating {IO_bot.name}")
bureau.add(IO_bot)
bureau.run() # Run the bereau