polyfact / polyfire-js

🔥 React library of AI components 🔥
https://www.npmjs.com/package/polyfire-js
129 stars 8 forks source link

:zap: react/components: Set temperature to 0 to use cache on generation react components #121

Closed lowczarc closed 9 months ago

lowczarc commented 9 months ago

https://github.com/polyfire-ai/polyfire-api/pull/120 will enable exact caching by default on temperature: 0 Using it in TextGenerated, TextTranslated and TextSummary will reduce the costs drastically for devs using them for non-dynamic usage.