Omar Khattab
@lateinteraction
CS PhD candidate @StanfordNLP. 2022 Apple Scholar in AI/ML. Author of ColBERT (https://t.co/2ZtgXoa1np), DSPy (https://t.co/BH7WmMKDXR), & various retrieval & LM systems.
ID:1605274291569799168
https://omarkhattab.com/ 20-12-2022 18:50:07
4,4K Tweets
11,1K Followers
1,8K Following
Milvus is now available as a retrieval module (MilvusRM) in DSPy! DSPy is a programmatic LLM optimization framework by Stanford NLP Group, providing composable and declarative modules for instructing LMs in Pythonic syntax. Compared to prompting through trial and error, it can take…
Nick Dobos Respectfully disagree. A lot of folks are starting to realize the power of programming LMs instead of wrestling with them thanks to frameworks like DSPy.
A RAG prompt is literally “query, context -> answer” regardless of the LM.
Haize Labs Super cool! I also used Dspy for our red teaming usecase, but having a refine module is really smart!
This looks pretty cool. There are a bunch of jailbreak papers that propose automatic optimization techniques. But why reinvent the wheel if you can just use Omar Khattab DSPy to do the prompt optimization automatically? The code is also super clean!