Nurium
Nurium
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
its a big 40mb pdf im using tho, 2-3k pages
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
~~~~ ben there for 1-2hours
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
[Db] > server@0.0.0 build [Db] > npx tsc [Db]
[Db] ⛔️ STRIPE_CUSTOMER_PORTAL_LINK is not defined [Db] Running seed: embedSeedScript
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
now its just loading when i try wasp db-seed
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
i tried using "NODE_OPTIONS="--max_old_space_size=4096" in .env.server
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
im trying to implement the embedding template you have done into the saas-gpt-template i get the error when tryna run wasp db seed "nurium_ubuntu@DESKTOP-NUD60OH:~/Projects/tezty4/open-saas/app$ wasp db seed
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
looks so, it was alredy there but i updated to .x.x.7 " ("@google-analytics/data", "4.1.0"), ("openai", "^4.24.7"), ("prettier", "3.1.1"), ("prettier-plugin-tailwindcss", "0.5.11"), ("zod", "3.22.4") ], }"
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
import openai from 'openai';*
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
not sure it seems i just cant access the openai module through the actions.ts file
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
~~~~ In this n simular code: const assistant = await openai.beta.assistants.create({ name: "Math Tutor",
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
[Server] > npx tsc [Server]
[Server] src/ext-src/actions.ts(84,36): error TS2339: Property 'beta' does not exist on type 'typeof import("/home/nurium_ubuntu/Projects/tezty/open-saas/app/.wasp/out/server/node_modules/openai/index")'.
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
also do you know why openai Assistant api doesnt seem to work in the actions.ts file? ~~~~~~
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
ok thx 🙂
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
remove one not used and add used i guess
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
oh ok
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
~~~~~~ This is the full code im using..
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
not sure im replacing the right code: "[Server] src/ext-src/actions.ts(68,67): error TS2304: Cannot find name 'RelatedObject'. [Server] src/ext-src/actions.ts(116,45): error TS2304: Cannot find name 'OpenAIResponse'. [Server] src/ext-src/actions.ts(118,29): error TS2339: Property 'RelatedObject' does not exist on type '{ User: UserDelegate<RejectOnNotFound | RejectPerOperation, DefaultArgs>; GptResponse: GptResponseDelegate<RejectOnNotFound | RejectPerOperation, DefaultArgs>; Task: TaskDelegate<...>; }'."
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
[Server!] HttpError: Bad response from OpenAI [Server!] at generateGptResponse (file:///home/nurium_ubuntu/Projects/tezty/open-saas/app/.wasp/out/server/dist/ext-src/actions.js:88:19) [Server!] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [Server!] at async file:///home/nurium_ubuntu/Projects/tezty/open-saas/app/.wasp/out/server/dist/middleware/operations.js:9:24 [Server!] at async file:///home/nurium_ubuntu/Projects/tezty/open-saas/app/.wasp/out/server/dist/utils.js:15:9 { [Server!] statusCode: 500 [Server!] } [Server] POST /operations/generate-gpt-response 500 1839.256 ms - 38
46 replies
WWasp-lang
Created by Nurium on 1/16/2024 in #🙋questions
openai gpt Assistant api, or embeddings template? How to select version when git cloning?
seems i used my own client ui, ill try the original as u said
46 replies