(docs) passing user config

This commit is contained in:
ishaan-jaff 2024-01-02 14:43:00 +05:30
parent 0fffcc1579
commit 0d0ee9e108

View file

@ -382,7 +382,7 @@ async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'gpt-3.5-turbo',
user_config: userConfig // 👈 User Key
user_config: userConfig // # 👈 User config
});
}