Friday, August 16, 2024

Show HN: An extensive set of RAG implementations+many different strategies https://ift.tt/i1cvhbp

Show HN: An extensive set of RAG implementations+many different strategies Hi all, Sharing a repo I was working on for a while. It’s open-source and includes many different strategies for RAG (currently 17), including tutorials, and visualizations. This is great learning and reference material. Open issues, suggest more strategies, and use as needed. Enjoy! https://ift.tt/94y2mtN August 15, 2024 at 11:35PM

Thursday, August 15, 2024

Show HN: Shadcn/pro – Advanced Next 15 and React 19 SaaS starter kit https://ift.tt/AOcTwIP

Show HN: Shadcn/pro – Advanced Next 15 and React 19 SaaS starter kit Hey HN, Hope you are doing well! As a fellow founder, I've got something that could save you 2-5 months of development time. I'm excited to share shadcn/pro, a SaaS starter kit for building modern web apps. It’s built with Next.js 15, React 19, Auth.js (next-auth v5) and shadcn/ui. The primary focus is on the core aspects of the web application, including authentication, billing, onboarding, organization management, member invites, profile management, email integration, dashboards, master/detail pages, API keys, webhooks and more. As you probably noticed Next/React/Auth.js is currently stuck in an upgrade limbo. There are major changes in Next 15 regarding caching and new action hooks in React 19. Furthermore Auth.js got rewritten to fit the app router model. What if you could use the latest versions, but make it some else's problem (me). I'm committed to keeping all dependencies up-to-date and adding features you need but don't have time to build while you can focus on your product domain. The application is well-designed, fully responsive and built using server actions and React Server Components (RSC). Some of the libraries used are - next-safe-action - nuqs - nice-modal-react - react-email - dnd kit - zod As for the auth you get - A FULL implementation of the credentials provider including everything necessary from OTP to password resets. - Google and Microsoft logins - Connected accounts - Session management The license is very business-friendly. Unlimited developers, projects, and commercial use. No strings attached. Website: https://shadcnpro.com/ Demo: https://ift.tt/Q1bO9eE What's your biggest pain point in SaaS development right now? Tell me what you think! https://shadcnpro.com/ August 14, 2024 at 11:36PM

Show HN: My Care Voice – We Help You Prepare for the What Ifs https://ift.tt/76N0YKr

Show HN: My Care Voice – We Help You Prepare for the What Ifs We are excited to introduce My Care Voice to the HN community! It's been a personal quest of mine to develop a process to ease the burden of creating advance directives. Everyone needs them, but few think about it until it's too late. Typically, it requires an expensive visit to an attorney or the cumbersome, impersonal process of filling out paperwork. In 2016, my sister had a sudden heart attack in the middle of the afternoon. She was rushed to the hospital with no way to speak or respond. That was when I fully grasped the importance of having these wishes recorded and available. Her family, including her two kids in their early twenties, were in the hospital waiting room, not knowing her wishes during those terrifying moments. The doctors were completely in the dark about how far to go with life-sustaining measures. My Care Voice is the simplest way to create these invaluable advance directives, so your loved ones and caregivers won't have to guess your wishes if something unexpected happens. With My Care Voice, you can: Be informed with definitions and examples in an easy-to-follow journey that you can complete in minutes or over time. Receive reminders and status updates. Complete one or more of your advance directives at your own pace. Securely share your completed documents with care professionals and loved ones. Make updates or amend at any time as your life changes. Try My Care Voice now, and don't hesitate to share your feedback to help us build the ultimate advance directive experience! https://ift.tt/fn4rEa0 August 15, 2024 at 02:34AM

Show HN: Beating OpenAI's structured outputs on cost, accuracy and speed https://ift.tt/J1ZBcXt

Show HN: Beating OpenAI's structured outputs on cost, accuracy and speed https://ift.tt/yiXoS9I August 15, 2024 at 12:32AM

Show HN: SlateDB – An embedded storage engine built on object storage https://ift.tt/HszOt9w

Show HN: SlateDB – An embedded storage engine built on object storage SlateDB is an embedded storage engine built as a log-structured merge-tree. Unlike traditional LSM-tree storage engines, SlateDB writes data to object storage (S3, GCS, ABS, MinIO, Tigris, and so on). Leveraging object storage allows SlateDB to provide bottomless storage capacity, high durability, and easy replication. The trade-off is that object storage has a higher latency and higher API cost than local disk. To mitigate high write API costs (PUTs), SlateDB batches writes. Rather than writing every put() call to object storage, MemTables are flushed periodically to object storage as a string-sorted table (SST). The flush interval is configurable. To mitigate write latency, SlateDB provides an async put method. Clients that prefer strong durability can await on put until the MemTable is flushed to object storage (trading latency for durability). Clients that prefer lower latency can simply ignore the future returned by put. To mitigate read latency and read API costs (GETs), SlateDB will use standard LSM-tree caching techniques: in-memory block caches, compression, bloom filters, and local SST disk caches. https://ift.tt/rUX9C2l August 15, 2024 at 12:47AM

Wednesday, August 14, 2024

Show HN: AnimeGenAi – AI-powered anime style image and video generator https://ift.tt/bOahlC3

Show HN: AnimeGenAi – AI-powered anime style image and video generator https://animegenai.com August 14, 2024 at 01:42AM

Show HN: AI Bartender in a Virtual Bar https://ift.tt/aNfqLSj

Show HN: AI Bartender in a Virtual Bar Note: The avatar will talk to you, so make sure you check your volume! Hello HN! I've seen a bunch of AI character type stuff online, but all of them were boring chat interfaces. I thought it would be more fun to give the characters an avatar and a 3d environment to interact with. The stack I'm using is Claude 3.5 for the LLM, OpenAI TTS, Stable Diffusion for generating drinks, and three.js for rendering. I exposed the prompt I'm using so people can play around with it by clicking the robot icon. If people find it interesting, I might add more environments, character customization options, etc. Hope you enjoy and let me know your thoughts/questions in the comments! If you want to know more, follow me on Twitter or join the Discord! https://ift.tt/opsq038 https://x.com/neelmango https://ift.tt/DjiZ42F August 13, 2024 at 10:58PM

Show HN: I trained a chess engine to play like humans https://ift.tt/i5eF9rL

Show HN: I trained a chess engine to play like humans I built 1e4.ai - a chess web app where you play against neural networks trained to mim...