Skip to contents

Ollamar functions

Parse and view data

Functions to parse and view data

parse_users_chat_data()
Parse all user data
parse_user_chat_data()
Parse a single user's raw chat data
get_df()
Get chat history as dataframe
get_user_chat()
Get and view chat history of a user
get_success_ids()
Get ids whose data have been parsed sucessfully
get_failed_ids()
Get ids whose data have failed to parse

Save data

Functions to save and load data

write_to_json()
Write chat data to json file
write_to_csv()
Write chat history to csv file
read_json_file()
Read json file

Utility functions

Utility functions

read_relevant_data_columns()
Read csv file to get matching data columns