msveshnikov / allchat

AI chat client
https://allchat.online
196 stars 22 forks source link

Custom GPTs (with prompts to Claude Haiku for better understanding) #22

Closed msveshnikov closed 5 months ago

msveshnikov commented 5 months ago

As finetuning is not an option, use context (up to 60.000) for any custom instructions and PDFs, docs, shared to all users by default

msveshnikov commented 5 months ago

Prompt: I need some MUI React page with interface for CustomGPTs: Name, big input box for custom instructions, file-drop area for PDFs and docs, and size indicator below (all files and form data should be sent to nodejs backend which shoiuld return current context size, max 60,000)

msveshnikov commented 5 months ago

Please write backend but keep all files data just base64 without multer etc

msveshnikov commented 5 months ago

Please finish backend endpoint by storing to Mongo DB (with mongoose CustomGPT schema) all the data: name, instructions, knowledge in text 60000 chars form

msveshnikov commented 5 months ago

Process fileStream by reading/extracting text content from PDFs or docs using example (existing code)

msveshnikov commented 5 months ago

WIP done, spent 30 minutes

msveshnikov commented 5 months ago

image

msveshnikov commented 5 months ago

Done