OPENAI_API_KEY = “XXXXXX”
llm = OpenAI(api_token=OPENAI_API_KEY)
pandas_ai = PandasAI(llm)
When I tried asking a few questions on the data frame
API is taking a long time to respond which is more than 2 minutes like that although i am using the Paid API Key.
Don’t know if it’s a model problem? please let me know if you have any ideas.
from my exploration, i have understood that using davinci model may helps getting response faster. But how can we define the engine = davinci in Pandasaai .can anyone help?