forked from jjordanbaird/EmailVectorDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
122 lines (122 loc) · 3.09 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
File: VectorDB\analyzer.py
Class: PythonCodeAnalyzer
Inherits from:
Docstring: None
Method: __init__
Arg: self
Arg: directory
Arg: output_path
Returns: Unknown
Docstring: None
Method: get_arg_data_type
Arg: self
Arg: arg
Returns: Unknown
Docstring: None
Method: get_classes_and_methods
Arg: self
Arg: file_path
Returns: Unknown
Docstring: None
Method: analyze_directory
Arg: self
Returns: Unknown
Docstring: None
Method: save_results
Arg: self
Arg: results
Returns: Unknown
Docstring: None
Method: analyze_and_save
Arg: self
Returns: Unknown
Docstring: None
File: VectorDB\email_fetcher.py
Class: EmailFetcher
Inherits from:
Docstring: EmailFetcher is a class to fetch emails from a specified email address.
It connects to the Gmail server using IMAP, searches for emails from a specific sender,
and retrieves the email content.
Method: __init__
Arg: self
Arg: email_address (str)
Arg: password (str)
Returns: None
Docstring: None
Method: connect
Arg: self
Returns: None
Docstring: None
Method: disconnect
Arg: self
Returns: None
Docstring: None
Method: _get_text_from_email
Arg: self
Arg: msg
Returns: bytes
Docstring: None
Method: load_existing_emails
Arg: self
Arg: path
Returns: list[dict]
Docstring: None
Method: get_message_ids
Arg: self
Arg: mail
Arg: email_ids
Returns: Unknown
Docstring: None
Method: fetch_emails
Arg: self
Arg: sender_email (str)
Arg: processed_email_output_path (str)
Returns: list[dict]
Docstring: None
File: VectorDB\tldr\tldr_newsletter_processor.py
Class: NewsletterProcessor
Inherits from:
Docstring: NewsletterProcessor is a class to process Newsletter emails.
It fetches emails, splits them into sections, and processes the content
with a chat model.
Method: __init__
Arg: self
Arg: user_email (str)
Arg: output_file (str)
Arg: error_file (str)
Arg: splitter_class
Arg: newsletter_email (str)
Returns: None
Docstring: None
Method: fetch_emails
Arg: self
Returns: list[dict]
Docstring: None
Method: process_emails
Arg: self
Arg: emails (list[dict])
Arg: concurrent_limit (int)
Returns: None
Docstring: None
Method: _process_part
Arg: self
Arg: part (str)
Arg: email_obj (dict)
Arg: sem (asyncio.Semaphore)
Arg: worker_num (int)
Returns: None
Docstring: None
File: VectorDB\tldr\tldr_splitter.py
Class: TLDRSplitter
Inherits from:
Docstring: TLDRSplitter is a class to parse the body of the TLDR Newsletter emails.
It splits the content into sections based on predefined delimiters.
Method: __init__
Arg: self
Returns: None
Docstring: None
Method: parse
Arg: self
Arg: body (str)
Returns: list[str]
Docstring: None