wild-silent
wild-silent
CCConvex Community
Created by wild-silent on 12/12/2024 in #support-community
Request to Implement llms.txt on Convex.dev
What is llms.txt? Today, websites serve not only as a source of information for humans but also as a critical resource for large language models (LLMs). Language models enhance various tools, including development environments for coders, by utilizing information about programming libraries and APIs directly from website documentation. Why Implement llms.txt? Enhanced AI Integration: AI tools often struggle to process entire websites due to limitations in context windows and the complexity of navigating HTML, JavaScript, and other web elements. By implementing llms.txt, Convex.dev can ensure that the most relevant information is easily accessible to AI helpers, improving user experience and API usability. Increased Adoption: Platforms like Vercel AI SDK, Anthropic, Supabase, DuckDB, and ElevenLabs have already implemented llms.txt. About llms.txt An llms.txt file allows developers and organizations to curate and centralize the most crucial information in a format optimized for LLM consumption. While training models typically involve scraping all accessible content, llms.txt focuses on providing real-time, actionable data for users interacting with AI tools. For instance, instead of parsing through complex documentation, an AI-powered assistant can refer directly to llms.txt for concise and relevant answers. Context Window Efficiency: AI tools—limited by their context window—can process information from llms.txt much more effectively than a full website scrape. Ease of Access: The file reduces friction for users relying on AI-enhanced development tools. Further Resources For more details, you can visit the following: llms.txt Official Website: https://llmstxt.org/ Directory of Services Using llms.txt: https://directory.llmstxt.cloud/ Convex can base the llms.txt file on its documentation and Convex Stack posts, ensuring it encapsulates all essential information for developers and AI tools.
2 replies
CCConvex Community
Created by wild-silent on 10/13/2024 in #support-community
Using Convex Triggers Across Multiple Frameworks: Jetpack Compose, SwiftUI, and Next.js
I'm working on a multi-framework project using Jetpack Compose (Kotlin) and SwiftUI (Swift) for the native apps, and Next.js (React) for the admin dashboard. I want to implement a Convex trigger that logs every insert on the user table to an activity tracker table. Since each framework has its own "convex" folder at the root, do I need to set up the trigger in all three folders, or can I define it once for the entire project? How should I structure the Convex backend for such use cases? Here are convex sample project repos for reference: iOS Example: https://github.com/get-convex/ios-convex-workout Android Example: https://github.com/get-convex/android-convex-workout Next.js Example: https://github.com/get-convex/template-nextjs-clerk-shadcn Any advice would be appreciated!
10 replies