apssouza22 / chatflow

Leveraging LLM to build Conversational UIs
BSD 2-Clause "Simplified" License
120 stars 26 forks source link

Predict cache in Redis, need some cleanup #44

Closed vporton closed 1 year ago

vporton commented 1 year ago

Fixes #2.

vporton commented 1 year ago

I discovered for myself that ft() stands for "full-text" and removed the unnecessary ft. I tested (using tracing) that the functionality is still there: the values are successfully retrieved from the cache (as it also was before this fix).

vporton commented 1 year ago

question about the reason for async methods on synch calls such as 'waiting for user input'.

Because I call e.g. Redis async methods in them directly or indirectly.