Skip to content

Commit

Permalink
new openai_model
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyRAV committed Aug 16, 2024
1 parent 1691909 commit bd3962b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/quizService.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {generateUniqueSeed} from "./seedService.js";
dotenv.config();

const OPENAI_API_KEY = process.env.OPENAI_API_KEY;
const gpt_model = 'gpt-3.5-turbo-1106';
const gpt_model = process.env.OPENAI_MODEL;
const max_tokens = 1024;
const generateQuizQuestions = async (interests, numberOfQuestions) => {
const generatedSeed = await generateUniqueSeed();
Expand Down

0 comments on commit bd3962b

Please sign in to comment.