refactor(tokenizer.js): remove console.log statement from tokenizer.js

This commit is contained in:
Daniel Avila 2023-04-11 10:29:55 -04:00
parent 5c5871afd8
commit dcf2ee480b

View file

@ -9,8 +9,7 @@ router.post('/', async (req, res) => {
try {
const { arg } = req.body;
console.log('context:', arg, req.body);
// console.log('context:', arg, req.body);
// console.log(typeof req.body === 'object' ? { ...req.body, ...req.query } : req.query);
const model = await load(registry[models['gpt-3.5-turbo']]);
const encoder = new Tiktoken(model.bpe_ranks, model.special_tokens, model.pat_str);