microsoft / deep-language-networks

We view Large Language Models as stochastic language layers in a network, where the learnable parameters are the natural language prompts at each layer. We stack two such layers, feeding the output of one layer to the next. We call the stacked architecture a Deep Language Network - DLN
MIT License
87 stars 12 forks source link

Migrate codebase to openai v1.0.0+ #39

Closed MarcCote closed 3 months ago

MarcCote commented 6 months ago

We should migrate the codebase to use a more recent version of openai-python library.

https://github.com/openai/openai-python/discussions/742

https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/migration?tabs=python%2Cdalle-fix