functime-org / functime

Time-series machine learning at scale. Built with Polars for embarrassingly parallel feature extraction and forecasts on panel data.
https://docs.functime.ai
Apache License 2.0
1.02k stars 55 forks source link

Bug - open-ai module has changed which makes breaking changes in LLM #129

Closed TomBurdge closed 10 months ago

TomBurdge commented 10 months ago

Once installed the modules for the LLM addon with pip install functime[llm] the connection to OpenAI doesn't work with the current openai_call function.

This is because OpenAI have changed how you call the API for chat completion (see the how to in their ReadMe).

I have made a pull request which fixes this. Happy to change anything once reviewed!

topher-lo commented 10 months ago

Closed by #128