feat: switch to GPT3.5 for cost savings#28
feat: switch to GPT3.5 for cost savings#28piqoni merged 3 commits intopiqoni:mainfrom barakplasma:feat--switch-to-GPT3.5-for-cost-savings
Conversation
|
example output given this config.yaml on a feed with a very short description and no summary markdown_dir_path:
feeds:
- https://motherduck.com/rss.xml 1
weather_latitude: 32.068
weather_longitude: 34.789
terminal_mode: false
opml_file_path:
markdown_file_prefix:
markdown_file_suffix:
reading_time: false
openai_api_key: sk-1...
summary_feeds:
- https://motherduck.com/rss.xml24°C 🌤 ️🍵 Blog posts | RSS FeedDuckDB Ecosystem Newsletter: April 2023 DuckDB Ecosystem Newsletter: March 2023 Why does everybody hate databases? DuckDB Ecosystem Newsletter: 0.7.0 Released and More Solving Advent of Code with DuckDB and dbt Big Data is Dead Python Faker for DuckDB Fake Data Generation How to analyze SQLite databases in DuckDB This Month in the DuckDB Ecosystem: January 2023 How We're Making Analytics Ducking Awesome This Month in the DuckDB Ecosystem MotherDuck Raises $47.5 Million to Make Analytics Fun, Frictionless and Ducking Awesome Why Use DuckDB for Analytics? Hello, World! Quack. Quack. 🍵 Blog posts | RSS Feed |
|
Thanks a lot! I did this three weeks ago here dd6fd1b but was not able to test it at the time, so did not merge it. This looks really good and its a reasonable default. |
According to https://openai.com/pricing pricing for GPT3 is $0.02/1k tokens, while GPT3.5 is $0.002/1k tokens (10x cheaper).
This bumps the version of the library used in order to access GPT3.5 as well