rittmananalytics / droughty

Droughty helps keep your workflow dry
https://droughty.readthedocs.io/en/latest/
MIT License
62 stars 6 forks source link

OpenAI model as a parameter #47

Open olivierdupuis opened 1 year ago

olivierdupuis commented 1 year ago

OpenAI allows us to fine-tune models so that we have completions that are more in line with our domain. Fine-tuning involves creating a new model out of a base model (for example the text-davinci-003 base model).

This means that if we wanted to generate field descriptions using our new OpenAI model, we would need to set that as a config. Would it then be possible to allow users to pass the value for the model_engine variable in the openai_descriptions.py file? I would assume it could be set as config just like the ProjectVariables.openai_secret?