Mu Sun
92 posts

Mu Sun
@sunmu01
building @TaleLark Prev @AlibabaGroup @Yahoo

这AI产品思路不错,提供任意主题,快速生成课程。 基于注册信息和AI对话来梳理、澄清需求。 为了邀请码还X留言申请,没想到CEO自己在贴中说了。 通用邀请码:curious 产品设计感不错,网址见评论区

"docu is the new src code, agent is the new compiler" is getting increasingly true for me. for some concrete ideas, i start by writing doc - then just ask codexhi to implement the experiment, fill the doc when it’s done, and draft a summary post to share with the team.

You know what? Somewhere beyond this world, there's another world. A ocean that isn't made of water, but of light and color. Floating on its surface are countless islands. Every person has an island of their own. But here's the thing...


in the age of ai, the question everyone's asking is "will i be replaced?" the real question is: do you know yourself well enough to become irreplaceable? everyone's getting access to the same models. same tools. with growing capabilities. the playing field is leveling fast. but here's the thing: Cursor doesn't think for you. it amplifies you. it takes your agency – your unique way of seeing problems, your taste, your judgment, your weird specific obsessions – and scales it 100x. it takes your strengths – the things only you are uniquely good at, the perspectives only you have from your specific life path – and makes them exponentially more powerful. the humans who win in this era aren't the ones with the best prompts or the most tokens. they're the ones who know themselves deeply. who have conviction about their unique point of view. who've done the hard work of figuring out what only they can do. ai is a mirror and a multiplier. if you're generic, it makes you more generic. if you're exceptional and know your strengths, it makes you unstoppable. your agency + your strengths + ai = where you become 100x more valuable and powerful. the question isn't whether to use tools like Cursor. it's whether you believe in your own agency enough to use it right. the humans who deeply know who they are, what they believe, and what they're uniquely great at – those are the ones who'll build the future. find your way. lean into your strengths. believe in human agency. then let Cursor amplify the hell out of it.

Hey Matt! DSPy is a declarative programming model. It's sort of like relational databases / SQL. You write what you actually want to say (and want others to read) in English, knowing that it may or may not be the best "prompt" for your LLM. DSPy then gives you the tools to translate that clean English + code/structure + evals into the form that your LLM needs to perform best. This can take three forms: 1. Optimized prompts, often very specific to your LLM and your evals (e.g., tricks like specific few-shot examples that work best or very specific ways of repeating certain instructions, or ALL CAPS or whatever nonsense you don't want to maintain in your code). 2. RL updates to your LLM weights. You certainly would do this by hand, but DSPy can automate RL for your pipeline *exactly* with the same API as prompt optimization. 3. Inference scaling, like applying techniques that make more extensive use of your LLM(s) at inference time. Let's focus on #1 here. When you iterate with evals by hand to "prompt engineer", you're doing two things. A) You're clarifying your own specs and correcting important details. This is amazing and crucial. It's NOT handled by DSPy in the general case; you're still supposed to iterate on programming your system. B) You're overfitting to a specific LLM's nuances and failure modes, and making a lot of low-level choices to appease that model until it works. You're moving instructions to different parts of the prompt, asking for XML instead of JSON, repeating yourself for a few key things, asking the model to pretend it's Einstein, etc. These "tricks" aren't bad; sometimes they work. Sometimes they're even essential. But you shouldn't be the one hard-coding them into your application. Tricks are best handled by a compiler that has global view of your system and that builds a quality model of your LLM, so it can iterate on your behalf. When you end up switching models or sharing your code with others, this all proves invaluable. When you decide you want to RL, this all proves invaluable. When the LLM(s) get so good at your task such that hacks are not necessary, this all proves invaluable. When you want to look at pleasant clean code, not weird formatting/parsing tricks, a few months later, this all proves invaluable. Hope this helps!


curl docs.jina.ai This is our Meta-Prompt. It allows LLMs to understand our Reader, Embeddings, Reranker, and Classifier APIs for improved codegen. Using the meta-prompt is straightforward. Just copy the prompt into your preferred LLM interface like ChatGPT, Claude, or whatever works for you, add your instructions, and you're set. In this example, we copied the entire prompt into Anthropic Claude and asked it to grab every sentence from Hacker News front page and visualize them using UMAP with matplotlib. This task is nontrivial as it combines multiple APIs from our Search Foundation, like Reader and Embedding where Claude may not have knowledge of. So if you asked Claude directly, it probably wouldn't give an optimal answer. But with the meta-prompt, Claude now has good knowledge about our APIs and can generate much better code! We can copy paste the code directly to Google Colab and with minimum modification, the code just works!





