Gynthazi
TTCTheo's Typesafe Cult
•Created by Gynthazi on 6/29/2024 in #questions
chatgpt assistant API with dynamic data?
I'd like to incorporate chatgpt inside of my website. my website dynamically pulls new data every day, and is "forward looking" about 7 days or so. the data is coming from a database.
i'm curious, has anyone tried using assistants api with dynamic proprietary data? my thought is use a script that auto-dumps the data into json format (one of the readable extensions assistants can use) daily, then on the site back end use vector_store expiration policies at 1 day.
the other option is, I hard-reboot the back end at like 3AM each today to force-load the new files, and my script just dumps the db as a same file name.
thoughts?
2 replies
TTCTheo's Typesafe Cult
•Created by Gynthazi on 9/5/2023 in #questions
When would you all choose ct3a over astro?
What are the qualifiers (other than just liking it better) would you say you'd use ct3a over astro? is it when you need a more robust back end? auth? Just curious. I have a couple projects I want to do and i've not used astro yet, but ct3a might be overkill.
4 replies
TTCTheo's Typesafe Cult
•Created by Gynthazi on 7/23/2023 in #questions
good website examples
any publicly shared example of a website, maybe that is a bit more complex than standard app? something with multiple pages, example of front end / back end rendering, good organizational practice as far as code/security, and makes use of next-auth / tailwind / jwt / etc? just wanted to get a bigger picture view of a well coded site thats a bit deeper than t3 if anyone knows any 🙂
5 replies
TTCTheo's Typesafe Cult
•Created by Gynthazi on 7/19/2023 in #questions
multiple questions for a newer T3 / Webdev
Hey all,
I'm a long time c++/python/etc dev who made the mistake to agree to assist a family member to help try to start a business for him. down the road they want a pretty robust site.
I have some T3/nextauth/general questions if any of the experts out there could share some light as I know you all are experts in the field:
1) When working on a codebase like T3, what is the criteria for you all to do front end vs back end rendering for your site?
2) I went through the first part of Theos tutorial, and saw him promoting clerk / vercel / planetscape. I had never heard of any of these before. I really like what you get from vercel, but wanted to see your thoughts on clerk vs just using nextauth and developing your own. While I get that clerk probably comes with a lot more security from the get-go, nextauth and jwt seem to provide solid foundations to dev your own auth and you dont have the cost associated with cerk. For planetscale, I see the benefits for quick dev, but are you all using it in production? My plan is to move to aws and was going to do mysql off of their rds solution. thoughts on that? benefit to using planetscale? again, just thinking cost.
3) i'm a big fan of keeping projects organized, and i'm reading up on routing and colocation (https://nextjs.org/docs/app/building-your-application/routing/colocation), anything you experienced people can add to this? any do's and do-nots? I want to make sure I stay as organized as possible, but also heard theo mention in his talk that you shouldnt really make a file for each "thing" only separate when needed. Coming from C++, let's just say we use a lot of files 🙂
4) front end -- any tips on front end design for someone that doesnt do anything front end? any additions that are clean that you recommend I look at?
thanks for the help! my goal is to get a solid foundation for him, then let him hire experts to take the reigns, so I want to make sure I set those experts up for success as best as I can.
5 replies