comment out old code

This commit is contained in:
ed barz 2023-07-24 09:58:20 +02:00
parent 51d2459460
commit 220fb1512a
1 changed files with 3 additions and 7 deletions

View File

@ -1,5 +1,4 @@
/** @type {import('./$types').Actions} */
/*
import { OpenAI } from "langchain/llms";
import * as dotenv from 'dotenv';
@ -25,13 +24,10 @@ export const actions = {
const model = new OpenAI({ temperature: 0.9 });
const res = await model.call(prompt);
//const res = "Just pretend I'm a real AI. I'm not, that's just for testing and styling purposes.";
//console.log(prompt);
//const res = "Was that your prompt? " + prompt;
return {
prompt: prompt,
generated: res
}
}
};
};
*/