neulab / prompt2model

prompt2model - Generate Deployable Models from Natural Language Instructions
Apache License 2.0
1.95k stars 173 forks source link

Update the readme and class name of `OpenAIDatasetGenerator` #332

Closed zhaochenyang20 closed 1 year ago

zhaochenyang20 commented 1 year ago

We integrated litellm into Prompt2Model to support more API-based models. But there are two things remain:

  1. The class name OpenAIDatasetGenerator is confusing since we already support models far beyond OpenAI models.
  2. The readme of DatasetGenerator is unchanged.
  3. There are many type hints like openai.Completion, which should be changed correspondingly.
neubig commented 1 year ago

Fixed in https://github.com/neulab/prompt2model/pull/331