diff --git a/src/routes/profile/ai/+page.server.js b/src/routes/profile/ai/+page.server.js index 01c987a..cb1ec47 100644 --- a/src/routes/profile/ai/+page.server.js +++ b/src/routes/profile/ai/+page.server.js @@ -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 } } -}; \ No newline at end of file +}; +*/ \ No newline at end of file