SYMBOL INDEX (358 symbols across 50 files) FILE: sample_data/create_db.sql type books (line 1) | create table books(book_name TEXT, img_url TEXT, id TEXT PRIMARY KEY, da... type purchase (line 2) | create table purchase(purchase_id TEXT,productName TEXT,productPrice REA... type exercise (line 3) | create table exercise(textDescription TEXT,duration REAL,distance REAL,c... type photos (line 4) | create table photos(textDescription TEXT,adddress TEXT,lat REAL,long REA... type streaming (line 5) | create table streaming(artist TEXT,track TEXT,playtimeMs INTEGER,spotify... type places (line 6) | create table places(textDescription TEXT,start_address TEXT,start_lat RE... type trips (line 7) | create table trips(textDescription TEXT,country TEXT,states_provinces TE... FILE: src/common/generate_persona.py function generate_college (line 27) | def generate_college(p): function generate_graduate_school (line 31) | def generate_graduate_school(p): function generate_college_major (line 35) | def generate_college_major(p): function generate_graduate_school_major (line 39) | def generate_graduate_school_major(p): function flip (line 43) | def flip(values, probs): function generate_persona (line 46) | def generate_persona(): FILE: src/common/geo_helper.py class GeoHelper (line 39) | class GeoHelper: method __init__ (line 43) | def __init__(self): method cache_key (line 50) | def cache_key(self, address:str): method reverse_cache_key (line 53) | def reverse_cache_key(self, latitude:float, longitude:float): method calculateLocation (line 56) | def calculateLocation(self, latitude: float, longitude: float, languag... method geocode (line 72) | def geocode(self, address:str, language:str="en") -> str: FILE: src/common/objects/EntryTypes.py class EntryType (line 20) | class EntryType(str, Enum): method toJson (line 30) | def toJson(self): FILE: src/common/objects/LLEntry_obj.py class LLEntry (line 22) | class LLEntry: method __init__ (line 23) | def __init__(self, type: str, startTime, source: str): method printObj (line 88) | def printObj(self): method __str__ (line 91) | def __str__(self): method toJson (line 95) | def toJson(self): method toDict (line 100) | def toDict(self): class LLEntrySummary (line 105) | class LLEntrySummary(LLEntry): method __init__ (line 106) | def __init__(self, method create_tags_from_objects (line 147) | def create_tags_from_objects(self, objects): method __init__ (line 158) | def __init__(self, method create_tags_from_objects (line 197) | def create_tags_from_objects(self, objects): class LLEntrySummary (line 157) | class LLEntrySummary(LLEntry): method __init__ (line 106) | def __init__(self, method create_tags_from_objects (line 147) | def create_tags_from_objects(self, objects): method __init__ (line 158) | def __init__(self, method create_tags_from_objects (line 197) | def create_tags_from_objects(self, objects): class LLEntryInvertedIndex (line 208) | class LLEntryInvertedIndex: method __init__ (line 209) | def __init__(self): method addEntry (line 212) | def addEntry(self, key: str, entry: LLEntry): method getEntries (line 217) | def getEntries(self, key): method __str__ (line 223) | def __str__(self): FILE: src/common/objects/derive_attributes.py class DependencyNode (line 26) | class DependencyNode: method __init__ (line 27) | def __init__(self, attribute: str, depends_on: list, functionName: str): method __str__ (line 32) | def __str__(self): class AttributeFiller (line 36) | class AttributeFiller: method __init__ (line 37) | def __init__(self): method fillMissingAttributes (line 46) | def fillMissingAttributes(self, lifeLog:LLEntry): method fillRecursive (line 53) | def fillRecursive(self, lifelog:LLEntry, dependency:DependencyNode, se... method isAbsent (line 88) | def isAbsent(self, val): FILE: src/common/objects/import_configs.py function get_val_or_none (line 63) | def get_val_or_none(kv:dict, key:str): class FileType (line 69) | class FileType(str, Enum): method toJson (line 74) | def toJson(self): class SourceConfigs (line 77) | class SourceConfigs: method __init__ (line 78) | def __init__(self, input_directory:str, filetype:FileType, method __str__ (line 87) | def __str__(self): method toJson (line 90) | def toJson(self): class FieldMapping (line 94) | class FieldMapping: method __init__ (line 95) | def __init__(self,src, target, src_type, target_type, functions, defau... method __str__ (line 103) | def __str__(self): method toJson (line 106) | def toJson(self): class DataSource (line 110) | class DataSource: method __init__ (line 111) | def __init__(self, id, source_name, entry_type:EntryType, configs, fie... method __str__ (line 132) | def __str__(self): method toJson (line 136) | def toJson(self): class DataSourceList (line 139) | class DataSourceList: method __init__ (line 140) | def __init__(self, ds): method __str__ (line 152) | def __str__(self): method toJson (line 155) | def toJson(self): FILE: src/common/persistence/key_value_db.py class CacheDBConnector (line 25) | class CacheDBConnector: method __new__ (line 26) | def __new__(cls): method setup_tables (line 55) | def setup_tables(self): method get (line 71) | def get(self, key:str, table:str) -> str: method put (line 76) | def put(self,key:str, value:str, table:str): method execute_write (line 80) | def execute_write(self,sql,params=None): FILE: src/common/persistence/personal_data_db.py class PersonalDataDBConnector (line 55) | class PersonalDataDBConnector: method __new__ (line 56) | def __new__(cls): method execute_write (line 94) | def execute_write(self,sql,params=None): method get_data_source_location (line 103) | def get_data_source_location(self): method setup_tables (line 106) | def setup_tables(self): method add_or_replace_personal_data (line 137) | def add_or_replace_personal_data(self, key_value: dict, unique_key=None): method add_or_replace (line 139) | def add_or_replace(self, table, key_value:dict, unique_key:str=None): method read_data_source_conf (line 168) | def read_data_source_conf(self, select_cols:str, source_name=None): method search_personal_data (line 176) | def search_personal_data(self, select_cols: str, where_conditions: dic... method add_photo (line 189) | def add_photo(self, source_id: str, obj: LLEntry): method add_only_photo (line 197) | def add_only_photo(self, source_id: str, imageFileName: str, imageFile... method is_same_photo_present (line 204) | def is_same_photo_present(self, source, filename, timestamp): method print_data_stats_by_source (line 216) | def print_data_stats_by_source(self): FILE: src/common/util.py function xOfy (line 35) | def xOfy(i, total): function extractYMD (line 40) | def extractYMD(date): function extract_month (line 47) | def extract_month(date): function extract_DOM (line 50) | def extract_DOM(date): function sameMonth (line 53) | def sameMonth(date1, date2): function truncateStringNum (line 59) | def truncateStringNum(num,digits): function dayToDate (line 68) | def dayToDate(num): function daysSinceEpoch (line 73) | def daysSinceEpoch(date): function nDaysAfterEpoch (line 81) | def nDaysAfterEpoch(n): function extractTOD (line 87) | def extractTOD(s): function convertToTimezone (line 92) | def convertToTimezone (t, tz_origin, tz_target): function convertlatlongToTimezone (line 105) | def convertlatlongToTimezone(lat_string, long_string): function convertOutOfE7 (line 112) | def convertOutOfE7(s): function extractYMDHM (line 115) | def extractYMDHM(date): function dict_to_json (line 125) | def dict_to_json(dict): function distance (line 140) | def distance(latlon_a, latlon_b): function translate_place_name (line 161) | def translate_place_name(place_name: str) -> str: function is_home (line 179) | def is_home(loc: Location): function get_location_attr (line 188) | def get_location_attr(loc: Location, attr: Union[str, List]): function str_to_location (line 217) | def str_to_location(loc: str): function get_coordinate (line 230) | def get_coordinate(loc: Union[str, Location]): FILE: src/frontend/src/App.js function App (line 50) | function App() { FILE: src/frontend/src/map/GoogleMapComponent.js function GoogleMapComponent (line 28) | function GoogleMapComponent(props) { FILE: src/frontend/src/map/PlaceInfo.js function PlaceInfo (line 23) | function PlaceInfo(props) { FILE: src/frontend/src/timeline/EpiTimeline.js constant MIN_ZOOM (line 26) | const MIN_ZOOM = 2; constant MAX_ZOOM (line 27) | const MAX_ZOOM = 512; function EpiTimeline (line 29) | function EpiTimeline(props) { FILE: src/frontend/src/timeline/constants.js constant START_YEAR (line 18) | const START_YEAR = 2021; constant NUM_OF_YEARS (line 19) | const NUM_OF_YEARS = 3; constant MONTH_NAMES (line 20) | const MONTH_NAMES = [ constant MONTHS_PER_YEAR (line 34) | const MONTHS_PER_YEAR = 12; constant QUARTERS_PER_YEAR (line 35) | const QUARTERS_PER_YEAR = 4; constant MONTHS_PER_QUARTER (line 36) | const MONTHS_PER_QUARTER = 3; constant NUM_OF_MONTHS (line 37) | const NUM_OF_MONTHS = NUM_OF_YEARS * MONTHS_PER_YEAR; constant MAX_TRACK_START_GAP (line 38) | const MAX_TRACK_START_GAP = 4; constant MAX_ELEMENT_GAP (line 39) | const MAX_ELEMENT_GAP = 8; constant MAX_MONTH_SPAN (line 40) | const MAX_MONTH_SPAN = 8; constant MIN_MONTH_SPAN (line 41) | const MIN_MONTH_SPAN = 2; constant NUM_OF_TRACKS (line 42) | const NUM_OF_TRACKS = 3; constant MAX_NUM_OF_SUBTRACKS (line 43) | const MAX_NUM_OF_SUBTRACKS = 2; FILE: src/frontend/src/timeline/utils.js constant COLORS (line 45) | const COLORS = COLORS_pallettes[0]; constant ADJECTIVES (line 85) | const ADJECTIVES = [ constant NOUNS (line 187) | const NOUNS = [ FILE: src/ingest/create_episodes.py class EpisodeCreator (line 27) | class EpisodeCreator: method __init__ (line 29) | def __init__(self, app_path='personal-data/app_data/'): method create_all_episodes (line 36) | def create_all_episodes(self): method create_books_index (line 73) | def create_books_index(self): method create_books_table (line 92) | def create_books_table(self, table: List): method create_places_table (line 133) | def create_places_table(self, table: List): method create_photos_table (line 203) | def create_photos_table(self, table: List): method create_streaming_table (line 236) | def create_streaming_table(self, table: List): method create_exercise_table (line 293) | def create_exercise_table(self, table: List): method create_purchase_table (line 332) | def create_purchase_table(self, table: List): FILE: src/ingest/derive_episodes.py class EpisodeDeriver (line 32) | class EpisodeDeriver: method __init__ (line 33) | def __init__(self, app_path='personal-data/app_data/'): method run (line 40) | def run(self): method distance (line 56) | def distance(self, latlon_a, latlon_b): method get_center (line 75) | def get_center(self, lat_lons): method add_tag (line 81) | def add_tag(self, segments: List[dict], d=200): method cluster (line 117) | def cluster(self, places: pd.DataFrame, d=200): method derive_trips (line 153) | def derive_trips(self, places: pd.DataFrame): method summarize (line 166) | def summarize(self, input): method summarize_oneline (line 171) | def summarize_oneline(self, input): method describe_place (line 176) | def describe_place(self, address): method summarize_day (line 181) | def summarize_day(self, places, details="low"): method make_trip_table (line 216) | def make_trip_table(self, trips, places): FILE: src/ingest/enrichment/find_jpegs.py function json_file (line 21) | def json_file (file_name): function jpeg_file (line 24) | def jpeg_file (file_name): function heic_file (line 27) | def heic_file (file_name): function jpg_file (line 30) | def jpg_file (file_name): FILE: src/ingest/enrichment/geo_enrichment.py class LocationEnricher (line 29) | class LocationEnricher: method __init__ (line 30) | def __init__(self): method enrich (line 34) | def enrich(self, incremental:bool=True): FILE: src/ingest/enrichment/image_enrichment.py class ImageEnricher (line 31) | class ImageEnricher: method __init__ (line 32) | def __init__(self) -> None: method enhance (line 35) | def enhance(img_path: str, k=5): method deduplicate (line 93) | def deduplicate(self, img_paths: List[str]): method enrich (line 118) | def enrich(self, incremental:bool=True): FILE: src/ingest/enrichment/socratic/socratic.py function load_openimage_classnames (line 41) | def load_openimage_classnames(csv_path): function load_tencentml_classnames (line 48) | def load_tencentml_classnames(txt_path): function build_simple_classifier (line 55) | def build_simple_classifier(clip_model, text_list, template, device): function load_models (line 65) | def load_models(): function drop_gpu (line 113) | def drop_gpu(tensor): function zeroshot_classifier (line 120) | def zeroshot_classifier(image): function generate_prompt (line 155) | def generate_prompt(openimage_classes, tencentml_classes, place365_class... function sorting_texts (line 181) | def sorting_texts(image_features, captions): function postprocess_results (line 194) | def postprocess_results(scores, classes): FILE: src/ingest/export/export_entities.py class PhotoExporter (line 26) | class PhotoExporter: method __init__ (line 27) | def __init__(self): method get_all_data (line 31) | def get_all_data(self): method generate_export_list (line 35) | def generate_export_list(self): method create_export_entity (line 50) | def create_export_entity(self, incremental:bool=True): method populate_location (line 92) | def populate_location(self, data:LLEntry, locations:Location) -> LLEntry: method populate_captions (line 104) | def populate_captions(self, data:LLEntry, captions: list) -> LLEntry: method populate_text_description (line 111) | def populate_text_description(self, data:LLEntry) -> LLEntry: FILE: src/ingest/importers/create_amazon_LLEntries.py function purchaseExtract (line 40) | def purchaseExtract(product, price, date, quantity): function digitalPurchaseExtract (line 55) | def digitalPurchaseExtract(title, price, currency, date): function slash_to_dash (line 66) | def slash_to_dash(date): function MDYY_to_dash (line 72) | def MDYY_to_dash(date): FILE: src/ingest/importers/create_apple_health_LLEntries.py class AppleHealthImporter (line 34) | class AppleHealthImporter(GenericImporter): method __init__ (line 35) | def __init__(self, source_id:int, source_name: str, entry_type: EntryT... method import_data (line 46) | def import_data(self, field_mappings): method remove_lines_between (line 75) | def remove_lines_between(self, xml_file_path): method parse_large_xml_file (line 94) | def parse_large_xml_file(self, xml_file_path): method create_LLEntry (line 109) | def create_LLEntry(self, child, tag): FILE: src/ingest/importers/create_facebook_LLEntries.py class FacebookPhotosImporter (line 25) | class FacebookPhotosImporter(PhotoImporter): method __init__ (line 26) | def __init__(self, source_id:int, source_name: str, entry_type: Entry... method import_photos (line 29) | def import_photos(self, cwd, subdir): FILE: src/ingest/importers/create_google_photo_LLEntries.py class GooglePhotosImporter (line 27) | class GooglePhotosImporter(PhotoImporter): method __init__ (line 28) | def __init__(self, source_id:int, source_name: str, entry_type: Entry... method import_photos (line 31) | def import_photos(self, cwd, subdir): FILE: src/ingest/importers/create_googlemaps_LLEntries.py class GoogleMapsImporter (line 37) | class GoogleMapsImporter(GenericImporter): method __init__ (line 38) | def __init__(self, source_id:int, source_name: str, entry_type: Entry... method calculateLocationFromLatLong (line 40) | def calculateLocationFromLatLong(self, lat, lon): method generate_textDescription (line 46) | def generate_textDescription(self, details): method placeVisitExtract (line 62) | def placeVisitExtract(self, visit): method activitySegmentExtract (line 103) | def activitySegmentExtract(self, activity): method import_data (line 178) | def import_data(self, field_mappings:list): FILE: src/ingest/importers/generic_importer.py class GenericImporter (line 38) | class GenericImporter: method __init__ (line 39) | def __init__(self, source_id:int, source_name:str, entry_type:EntryTyp... method import_data (line 48) | def import_data(self, field_mappings:list): method generate_textDescription (line 51) | def generate_textDescription(self, details): method get_type_files_deep (line 67) | def get_type_files_deep(self, pathname: str, filename_pattern: str, ty... method build_db_entry (line 91) | def build_db_entry(self, obj: LLEntry): method build_dedup_value (line 100) | def build_dedup_value(self, obj: LLEntry, unique_key:list): method create_LLEntry (line 108) | def create_LLEntry(self, row:dict, field_mappings:list): method evaluate_functions (line 152) | def evaluate_functions(self, fieldMapping:FieldMapping, lifelog_obj:LL... class SimpleJSONImporter (line 180) | class SimpleJSONImporter(GenericImporter): method __init__ (line 181) | def __init__(self, source_id:int, source_name:str, entry_type:EntryTyp... method import_data (line 185) | def import_data(self, field_mappings:list): class CSVImporter (line 208) | class CSVImporter(GenericImporter): method __init__ (line 209) | def __init__(self, source_id:int, source_name: str, entry_type: EntryT... method import_data (line 213) | def import_data(self, field_mappings: list): FILE: src/ingest/importers/generic_importer_workflow.py class GenericImportOrchestrator (line 29) | class GenericImportOrchestrator: method __init__ (line 30) | def __init__(self): method add_new_source (line 34) | def add_new_source(self, datasource: DataSourceList): method start_import (line 38) | def start_import(self): method import_from_xml (line 67) | def import_from_xml(self, source_name: str, configs: SourceConfigs, fi... FILE: src/ingest/importers/photo_importer_base.py class PhotoImporter (line 38) | class PhotoImporter(GenericImporter): method __init__ (line 40) | def __init__(self, source_id:int, source_name:str, entry_type:EntryTyp... method import_photos (line 49) | def import_photos(self, cwd, subdir): method import_data (line 52) | def import_data(self, field_mappings:list): method calculateExperiencedTimeRealAndUtc (line 57) | def calculateExperiencedTimeRealAndUtc(self, latitude: float, longitud... method get_type_files_deep (line 70) | def get_type_files_deep(self, pathname: str, filename_pattern: str, ty... method find_all_in_haystack (line 96) | def find_all_in_haystack(self, needle, haystack, return_parent: bool): method flatten (line 124) | def flatten(self, struct): method get_filename_from_path (line 134) | def get_filename_from_path(self, uri): method is_photo_already_processed (line 139) | def is_photo_already_processed(self, filename, taken_timestamp): method create_LLEntry (line 142) | def create_LLEntry(self, FILE: src/ingest/offline_processing.py class LLImage (line 36) | class LLImage: method __init__ (line 37) | def __init__(self, function create_image_summary (line 52) | def create_image_summary(images: List[LLImage], k=3): function postprocess_bloom (line 73) | def postprocess_bloom(answer: str, keywords: List[str]=None): function summarize_activity (line 93) | def summarize_activity(entries: List[LLImage]): function summarize_day (line 133) | def summarize_day(day: List[List[LLImage]], activity_index: Dict): function trip_data_to_text (line 187) | def trip_data_to_text(locations: List[Location], start_date: List, num_d... function organize_images_by_tags (line 208) | def organize_images_by_tags(images: List[LLImage]): function get_location (line 224) | def get_location(segment) -> Location: function get_start_end_location (line 268) | def get_start_end_location(segment): function get_timestamp (line 274) | def get_timestamp(obj): function create_segments (line 285) | def create_segments(entries: List[LLImage]): function convert_LLEntry_LLImage (line 356) | def convert_LLEntry_LLImage(entries: List[LLEntry]): function create_trip_summary (line 379) | def create_trip_summary(entries: List[LLEntry]): FILE: src/qa/chatgpt_engine.py class ChatGPTEngine (line 28) | class ChatGPTEngine: method __init__ (line 29) | def __init__(self): method query (line 42) | def query(self, message): FILE: src/qa/posttext/data/TimelineQA/dense-100/create_db.sql type annual_medical_care_log (line 2) | create table annual_medical_care_log(eid TEXT PRIMARY KEY,date TEXT,for_... type daily_chat_log (line 3) | create table daily_chat_log(eid TEXT PRIMARY KEY,date TEXT,timeofday TEX... type daily_exercise_log (line 4) | create table daily_exercise_log(eid TEXT PRIMARY KEY,date TEXT,exercise ... type daily_meal_log (line 5) | create table daily_meal_log(eid TEXT PRIMARY KEY,date TEXT,mealtype TEXT... type daily_read_log (line 6) | create table daily_read_log(eid TEXT PRIMARY KEY,date TEXT,readtype TEXT... type daily_watchtv_log (line 7) | create table daily_watchtv_log(eid TEXT PRIMARY KEY,date TEXT,watchtype ... type marriages_log (line 8) | create table marriages_log(eid TEXT PRIMARY KEY,married_date TEXT,partne... type monthly_pet_care_log (line 9) | create table monthly_pet_care_log(eid TEXT PRIMARY KEY,date TEXT,pet_car... type moves_log (line 10) | create table moves_log(eid TEXT PRIMARY KEY,date TEXT,type_of_move TEXT,... type travel_log (line 11) | create table travel_log(eid TEXT PRIMARY KEY,start_date TEXT,end_date TE... type travel_dining_log (line 12) | create table travel_dining_log(eid TEXT PRIMARY KEY,start_date TEXT,end_... type travel_places_visited_log (line 13) | create table travel_places_visited_log(eid TEXT PRIMARY KEY,start_date T... type weekly_bakeorcook_log (line 14) | create table weekly_bakeorcook_log(eid TEXT PRIMARY KEY,date TEXT,cuisin... type weekly_dating_log (line 15) | create table weekly_dating_log(eid TEXT PRIMARY KEY,date TEXT,people_str... type weekly_grocery_log (line 16) | create table weekly_grocery_log(eid TEXT PRIMARY KEY,date TEXT,fruits TE... type weekly_hobby_log (line 17) | create table weekly_hobby_log(eid TEXT PRIMARY KEY,date TEXT,hobbies TEX... FILE: src/qa/posttext/data/TimelineQA/medium-100/create_db.sql type annual_medical_care_log (line 2) | create table annual_medical_care_log(eid TEXT PRIMARY KEY,date TEXT,for_... type daily_chat_log (line 3) | create table daily_chat_log(eid TEXT PRIMARY KEY,date TEXT,timeofday TEX... type daily_exercise_log (line 4) | create table daily_exercise_log(eid TEXT PRIMARY KEY,date TEXT,exercise ... type daily_meal_log (line 5) | create table daily_meal_log(eid TEXT PRIMARY KEY,date TEXT,mealtype TEXT... type daily_read_log (line 6) | create table daily_read_log(eid TEXT PRIMARY KEY,date TEXT,readtype TEXT... type daily_watchtv_log (line 7) | create table daily_watchtv_log(eid TEXT PRIMARY KEY,date TEXT,watchtype ... type marriages_log (line 8) | create table marriages_log(eid TEXT PRIMARY KEY,married_date TEXT,partne... type monthly_pet_care_log (line 9) | create table monthly_pet_care_log(eid TEXT PRIMARY KEY,date TEXT,pet_car... type moves_log (line 10) | create table moves_log(eid TEXT PRIMARY KEY,date TEXT,type_of_move TEXT,... type travel_log (line 11) | create table travel_log(eid TEXT PRIMARY KEY,start_date TEXT,end_date TE... type travel_dining_log (line 12) | create table travel_dining_log(eid TEXT PRIMARY KEY,start_date TEXT,end_... type travel_places_visited_log (line 13) | create table travel_places_visited_log(eid TEXT PRIMARY KEY,start_date T... type weekly_bakeorcook_log (line 14) | create table weekly_bakeorcook_log(eid TEXT PRIMARY KEY,date TEXT,cuisin... type weekly_dating_log (line 15) | create table weekly_dating_log(eid TEXT PRIMARY KEY,date TEXT,people_str... type weekly_grocery_log (line 16) | create table weekly_grocery_log(eid TEXT PRIMARY KEY,date TEXT,fruits TE... type weekly_hobby_log (line 17) | create table weekly_hobby_log(eid TEXT PRIMARY KEY,date TEXT,hobbies TEX... FILE: src/qa/posttext/data/TimelineQA/sparse-100/create_db.sql type annual_medical_care_log (line 1) | create table annual_medical_care_log(eid TEXT PRIMARY KEY,date TEXT,for_... type daily_chat_log (line 2) | create table daily_chat_log(eid TEXT PRIMARY KEY,date TEXT,timeofday TEX... type daily_exercise_log (line 3) | create table daily_exercise_log(eid TEXT PRIMARY KEY,date TEXT,exercise ... type daily_meal_log (line 4) | create table daily_meal_log(eid TEXT PRIMARY KEY,date TEXT,mealtype TEXT... type daily_read_log (line 5) | create table daily_read_log(eid TEXT PRIMARY KEY,date TEXT,readtype TEXT... type daily_watchtv_log (line 6) | create table daily_watchtv_log(eid TEXT PRIMARY KEY,date TEXT,watchtype ... type marriages_log (line 7) | create table marriages_log(eid TEXT PRIMARY KEY,married_date TEXT,partne... type monthly_pet_care_log (line 8) | create table monthly_pet_care_log(eid TEXT PRIMARY KEY,date TEXT,pet_car... type moves_log (line 9) | create table moves_log(eid TEXT PRIMARY KEY,date TEXT,type_of_move TEXT,... type travel_log (line 10) | create table travel_log(eid TEXT PRIMARY KEY,start_date TEXT,end_date TE... type travel_dining_log (line 11) | create table travel_dining_log(eid TEXT PRIMARY KEY,start_date TEXT,end_... type travel_places_visited_log (line 12) | create table travel_places_visited_log(eid TEXT PRIMARY KEY,start_date T... type weekly_bakeorcook_log (line 13) | create table weekly_bakeorcook_log(eid TEXT PRIMARY KEY,date TEXT,cuisin... type weekly_dating_log (line 14) | create table weekly_dating_log(eid TEXT PRIMARY KEY,date TEXT,people_str... type weekly_grocery_log (line 15) | create table weekly_grocery_log(eid TEXT PRIMARY KEY,date TEXT,fruits TE... type weekly_hobby_log (line 16) | create table weekly_hobby_log(eid TEXT PRIMARY KEY,date TEXT,hobbies TEX... FILE: src/qa/posttext/server.py function create_app (line 28) | def create_app(): function test (line 41) | def test(): function query (line 53) | def query(): FILE: src/qa/posttext/src/posttext.py class PostText (line 28) | class PostText: method __init__ (line 30) | def __init__(self, method query (line 39) | def query(self, question: str): function main (line 81) | def main(argv): FILE: src/qa/posttext/src/retrieval_qa.py class RetrievalBasedQA (line 27) | class RetrievalBasedQA: method __init__ (line 29) | def __init__(self, config, directory): method load_source_vectorstore (line 44) | def load_source_vectorstore(self, path: str): method query (line 52) | def query(self, question: str): method __call__ (line 62) | def __call__(self, question: str): FILE: src/qa/posttext/src/views_qa.py class ViewBasedQA (line 42) | class ViewBasedQA: method __init__ (line 44) | def __init__(self, method load_viewsmetadata_embeddings (line 67) | def load_viewsmetadata_embeddings(self): method match_views (line 88) | def match_views(self, question: str): method generate_provenance_query (line 102) | def generate_provenance_query(self, sqlquery, tablename, key): method removeGOH (line 116) | def removeGOH(self, fromclause): method generate_prov_query (line 140) | def generate_prov_query(self, sqlquery, key): method table_result2English (line 184) | def table_result2English(self, method generate_prompt_example_records (line 214) | def generate_prompt_example_records(self, method query_views (line 236) | def query_views(self, method query (line 373) | def query(self, question:str): method __call__ (line 383) | def __call__(self, question: str): FILE: src/qa/posttext/src/views_util.py function get_embedding_with_cache (line 36) | def get_embedding_with_cache(text,engine): function _customLIKE (line 46) | def _customLIKE(arg1,arg2): function raise_missing_field_error (line 98) | def raise_missing_field_error(error_str): function read_views_catalog (line 105) | def read_views_catalog(viewspath): function escapeSingleQuote (line 208) | def escapeSingleQuote(str): function strip_percent (line 217) | def strip_percent(str): function prep_SQL (line 229) | def prep_SQL(sql, question, schema): function get_desc (line 302) | def get_desc(views_catalog_dict, short): function get_table_names (line 317) | def get_table_names(views_catalog_dict): FILE: src/qa/posttext/util/create_metadata_idx.py function main (line 28) | def main(argv): FILE: src/qa/posttext/util/data2vectorstore.py function chunk_to_string (line 35) | def chunk_to_string(ch): function main (line 39) | def main(argv): FILE: src/qa/posttext/util/digital_data2vectorstore.py function verbalize (line 28) | def verbalize(episodes): function main (line 46) | def main(argv): FILE: src/qa/posttext/util/jsontimeline2csv.py function main (line 22) | def main(argv): FILE: src/qa/posttext/util/setup.py class Setup (line 33) | class Setup: method __init__ (line 34) | def __init__(self, method install_metadata (line 39) | def install_metadata(self): method install_views (line 73) | def install_views(self): method verbalize (line 82) | def verbalize(self, episodes): method install_data_embeddings (line 97) | def install_data_embeddings(self): function main (line 136) | def main(argv): FILE: src/qa/posttext/util/table2text.py function verbalize (line 22) | def verbalize(episodes, template): function main (line 31) | def main(argv): FILE: src/qa/qa_engine.py class QAEngine (line 32) | class QAEngine: method __init__ (line 34) | def __init__(self, path, k=10): method verbalize (line 81) | def verbalize(self, episodes: pd.DataFrame): method query (line 96) | def query(self, FILE: src/qa/server.py function test (line 46) | def test(): function launch (line 57) | def launch(): function query (line 70) | def query(): FILE: src/qa/view_engine.py class ViewEngine (line 29) | class ViewEngine: method __init__ (line 31) | def __init__(self, path): method verbalize (line 38) | def verbalize(self, query: str, answer: str): method flatten (line 47) | def flatten(self, lst): method query (line 61) | def query(self,