openai-api icon indicating copy to clipboard operation
openai-api copied to clipboard

feat: allow the specification of a model for fine tuned completion

Open ColinEberhardt opened this issue 2 years ago • 5 comments

When using a fine-tuned model, you specify a model rather than an engine - see:

https://beta.openai.com/docs/guides/fine-tuning/use-a-fine-tuned-model

This adds support for a model parameter, e.g.

  const gptResponse = await openai.complete({
    model: "curie:MODEL-ID",
    prompt
  });

ColinEberhardt avatar Nov 09 '21 18:11 ColinEberhardt

+1

davut avatar Nov 13 '21 23:11 davut

++1 please

pdhoward avatar Nov 29 '21 18:11 pdhoward

+1

Lisennk avatar Dec 21 '21 19:12 Lisennk

+1

bcazur avatar Jan 11 '22 12:01 bcazur

There were some other changes as well. I covered them in this PR #57

dasheck0 avatar Jun 12 '22 15:06 dasheck0