devstein / langchain

⚡ Building applications with LLMs through composability ⚡
MIT License
1 stars 0 forks source link

Agent not getting time spans correctly.. #5

Open devstein opened 1 year ago

devstein commented 1 year ago

Issue you'd like to raise.

Hey, we are trying to make use of a pandas dataframe agent. Most querys are working quite good but we cant get it working with time span querys. If we ask the agent "what date is it?" the answer is correct. But if we ask give me the revenue of the last week...the pandas query it generates is syntactically correct but the dates are completely off...

Has anyone idea how to fix this? Thanks!

Suggestion:

No response