Microsoft outlook
OutlookLocalCalendarReader #
Bases: BaseReader
Outlook local calendar reader for Windows. Reads events from local copy of Outlook calendar.
Source code in llama-index-integrations/readers/llama-index-readers-microsoft-outlook/llama_index/readers/microsoft_outlook/base.py
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 |
|
load_data #
load_data(number_of_results: Optional[int] = 100, start_date: Optional[Union[str, date]] = None, end_date: Optional[Union[str, date]] = None, more_attributes: Optional[List[str]] = None) -> List[Document]
Load data from user's local calendar.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
number_of_results |
Optional[int]
|
the number of events to return. Defaults to 100. |
100
|
start_date |
Optional[Union[str, date]]
|
the start date to return events from. Defaults to today. |
None
|
end_date |
Optional[Union[str, date]]
|
the last date (inclusive) to return events from. Defaults to 2199-01-01. |
None
|
more_attributes |
Optional[List[str]]
|
additional attributes to be retrieved from calendar entries. Non-existnat attributes are ignored. |
None
|
Returns a list of documents sutitable for indexing by llam_index. Always returns Start, End, Subject, Location, and Organizer attributes and optionally returns additional attributes specified in the more_attributes parameter.
Source code in llama-index-integrations/readers/llama-index-readers-microsoft-outlook/llama_index/readers/microsoft_outlook/base.py
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 |
|