agentic
agentic copied to clipboard
Can I use a fine-tuned model?
Describe the feature
Can I use a fine-tuned model? What should I do?
const api = new ChatGPTAPI({ apiKey: "", CompletionParams:{ model:"FINE_TUNED_MODEL" } })
This option does not appear to be in effect. What should I do?
This should be:
new ChatGPTAPI({ apiKey: "", completionParams:{ model:"FINE_TUNED_MODEL" } })
Note the lower-case completionParams.
You can set debug: true to print out the body we're sending to OpenAI.