Replies: 2 comments
-
|
Do you have a specific example? You can ask the LLM to not include any quotes in the output JSON to save around 10% of tokens as well |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the quick answer. Any use case that involves tabular data with large number of rows comes under this requirement For example, I have a csv list like below (Facebook insights fields). For each of the field , i need the llm to assign a user friendly name, and possible data type . (The below list may be small and may not be a true representation of the use case. But there could be similar cases where there are thousands of rows, in which case json becomes not as useful as csv) "Field ID"
"page_tab_views_login_top_unique"
"page_tab_views_login_top"
"page_tab_views_logout_top"
"page_total_actions"
"page_post_engagements"
"page_lifetime_engaged_followers_unique"
"page_daily_follows"
"page_daily_follows_unique"
"page_daily_unfollows_unique"
"page_follows"
"page_impressions"
"page_impressions_unique"
"page_impressions_paid"
"page_impressions_paid_unique"
"page_impressions_viral"
"page_impressions_viral_unique"
"page_impressions_nonviral"
"page_impressions_nonviral_unique"
"page_views_total"
"page_actions_post_reactions_like_total"
"page_actions_post_reactions_love_total"
"page_actions_post_reactions_wow_total"
"page_actions_post_reactions_haha_total"
"page_actions_post_reactions_sorry_total"
"page_actions_post_reactions_anger_total"
"page_actions_post_reactions_total"
"page_fans"
"page_fans_locale"
"page_fans_city"
"page_fans_country"
"page_fan_adds"
"page_fan_adds_unique"
"page_fan_removes"
"page_fan_removes_unique"
"page_fan_adds_by_paid_non_paid_unique"
"page_video_views_by_uploaded_hosted"
"page_video_views_paid"
"page_video_views_organic"
"page_video_views_by_paid_non_paid"
"page_video_views_autoplayed"
"page_video_views_click_to_play"
"page_video_views_unique"
"page_video_repeat_views"
"page_video_complete_views_30s"
"page_video_complete_views_30s_paid"
"page_video_complete_views_30s_organic"
"page_video_complete_views_30s_autoplayed"
"page_video_complete_views_30s_click_to_play"
"page_video_complete_views_30s_unique"
"page_video_complete_views_30s_repeat_views"
"page_uploaded_3s_to_15s_views_rate"
"page_uploaded_views_15s_count"
"page_uploaded_views_60s_excludes_shorter_unique_count_by_is_60s_returning_viewer"
"page_video_view_time"
"page_video_views"
"page_daily_video_ad_break_ad_impressions_by_crosspost_status"
"page_daily_video_ad_break_cpm_by_crosspost_status"
"page_daily_video_ad_break_earnings_by_crosspost_status"
"page_posts_impressions"
"page_posts_impressions_unique"
"page_posts_impressions_paid"
"page_posts_impressions_paid_unique"
"page_posts_impressions_organic_unique"
"page_posts_served_impressions_organic_unique"
"page_posts_impressions_viral"
"page_posts_impressions_viral_unique"
"page_posts_impressions_nonviral"
"page_posts_impressions_nonviral_unique"
"post_clicks"
"post_clicks_by_type"
"post_impressions"
"post_impressions_unique"
"post_impressions_paid"
"post_impressions_paid_unique"
"post_impressions_fan"
"post_impressions_fan_unique"
"post_impressions_organic"
"post_impressions_organic_unique"
"post_impressions_viral"
"post_impressions_viral_unique"
"post_impressions_nonviral"
"post_impressions_nonviral_unique"
"post_reactions_like_total"
"post_reactions_love_total"
"post_reactions_wow_total"
"post_reactions_haha_total"
"post_reactions_sorry_total"
"post_reactions_anger_total"
"post_reactions_by_type_total"
"post_video_avg_time_watched"
"post_video_complete_views_organic"
"post_video_complete_views_organic_unique"
"post_video_complete_views_paid"
"post_video_complete_views_paid_unique"
"post_video_retention_graph"
"post_video_retention_graph_clicked_to_play"
"post_video_retention_graph_autoplayed"
"post_video_views_organic"
"post_video_views_organic_unique"
"post_video_views_paid"
"post_video_views_paid_unique"
"post_video_length"
"post_video_views"
"post_video_views_unique"
"post_video_views_autoplayed"
"post_video_views_clicked_to_play"
"post_video_views_15s"
"post_video_views_60s_excludes_shorter"
"post_video_views_sound_on"
"post_video_view_time"
"post_video_view_time_organic"
"post_video_view_time_by_age_bucket_and_gender"
"post_video_view_time_by_region_id"
"post_video_views_by_distribution_type"
"post_video_view_time_by_distribution_type"
"post_video_view_time_by_country_id"
"post_video_views_live"
"post_video_social_actions_count_unique"
"post_video_live_current_viewers"
"post_video_15s_to_60s_excludes_shorter_views_rate"
"post_video_views_by_live_status"
"post_video_complete_views_30s_autoplayed"
"post_video_complete_views_30s_clicked_to_play"
"post_video_complete_views_30s_organic"
"post_video_complete_views_30s_paid"
"post_video_complete_views_30s_unique"
"post_activity_by_action_type"
"post_activity_by_action_type_unique"
"post_video_ad_break_ad_impressions"
"post_video_ad_break_earnings"
"post_video_ad_break_ad_cpm"
"creator_monetization_qualified_views"
"blue_reels_play_count"
"fb_reels_replay_count"
"fb_reels_total_plays"
"post_impressions_unique"
"post_video_avg_time_watched"
"post_video_followers"
"post_video_likes_by_reaction_type"
"post_video_retention_graph"
"post_video_social_actions"
"post_video_view_time"
"total_video_views"
"total_video_views_unique"
"total_video_views_autoplayed"
"total_video_views_clicked_to_play"
"total_video_views_organic"
"total_video_views_organic_unique"
"total_video_views_paid"
"total_video_views_paid_unique"
"total_video_views_sound_on"
"total_video_complete_views"
"total_video_complete_views_unique"
"total_video_complete_views_auto_played"
"total_video_complete_views_clicked_to_play"
"total_video_complete_views_organic"
"total_video_complete_views_organic_unique"
"total_video_complete_views_paid"
"total_video_complete_views_paid_unique"
"total_video_10s_views"
"total_video_10s_views_unique"
"total_video_10s_views_auto_played"
"total_video_10s_views_clicked_to_play"
"total_video_10s_views_organic"
"total_video_10s_views_paid"
"total_video_10s_views_sound_on"
"total_video_15s_views"
"total_video_30s_views"
"total_video_60s_excludes_shorter_views"
"total_video_retention_graph"
"total_video_retention_graph_autoplayed"
"total_video_retention_graph_clicked_to_play"
"total_video_avg_time_watched"
"total_video_view_total_time"
"total_video_view_total_time_organic"
"total_video_view_total_time_paid"
"total_video_impressions"
"total_video_impressions_unique"
"total_video_impressions_paid"
"total_video_impressions_paid_unique"
"total_video_impressions_organic"
"total_video_impressions_organic_unique"
"total_video_impressions_viral"
"total_video_impressions_viral_unique"
"total_video_impressions_fan"
"total_video_impressions_fan_unique"
"total_video_impressions_fan_paid"
"total_video_impressions_fan_paid_unique"
"total_video_stories_by_action_type"
"total_video_reactions_by_type_total"
"total_video_view_time_by_age_bucket_and_gender"
"total_video_view_time_by_region_id"
"total_video_views_by_distribution_type"
"total_video_view_time_by_distribution_type"
"total_video_view_total_time_live"
"total_video_views_live"
"total_video_views_live_clicked_to_play"
"total_video_views_live_autoplayed"
"total_video_views_by_country_id"
"total_video_views_by_age_bucket_and_gender"
"total_video_views_gender_male"
"total_video_views_gender_female"
"total_video_views_gender_male_live"
"total_video_views_gender_female_live"
"has_total_video_views_by_publisher_platform_type"
"total_video_ad_break_ad_cpm"
"total_video_ad_break_ad_impressions"
"total_video_ad_break_earnings"
"creator_monetization_qualified_views" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this library. Wanted to ask a quick question.
JSON format is token intensive. Many a times, letting the llm output data in csv format is needed particularly when dealing with tabular data. Does BAML support that ? Or is it outside the scope of this project
Beta Was this translation helpful? Give feedback.
All reactions