-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
21 lines (17 loc) · 696 Bytes
/
main.py
File metadata and controls
21 lines (17 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# main.py
import data_collector
import llm_data_sender
import twitter_poster
def main():
# Schritt 1: Daten sammeln
print("Schritt 1: Sammle Daten...")
data_collector.collect_data() # Diese Funktion sammelt die Daten.
# Schritt 2: Sende die CSV-Dateien an Ragflow
print("Schritt 2: Sende CSV-Dateien an Ragflow...")
llm_data_sender.send_to_ragflow() # Diese Funktion sendet die CSV-Dateien.
# Schritt 3: Twitter-Publishing
print("Schritt 3: Posten auf Twitter...")
json_file_path = "output/combined_report.json"
twitter_poster.post_report_to_twitter(json_file_path) # Diese Funktion veröffentlicht die Tweets.
if __name__ == "__main__":
main()