munkee retweeted

John Lindquist@johnlindquist29 Dec 2025
United States
United StatesConnected via United States Android AppAccount-level information, not a live location or per-post device.
Don't sleep on using CASS to analyze recent conversations to force agents to self-improve.
Next up: Setting up a daily cron to automate it.
munkee retweeted

Dark Web Informer@DarkWebInformer14 Feb 2025
United States!
United StatesConnected via WebLocation may be affected by a proxy or VPN.Account-level information, not a live location or per-post device.
CISO vs Pentester 🤣
munkee retweeted
An easy trick to improve your LLM results without fine-tuning. Many people know "Few-Shot prompting" or "Chain of Thought prompting". A new (better) method was presented by @FangruLin99 at #ICML2024. It is called: Plan Like a Graph (PLaG)
The core idea is simple. #icml #icml24
munkee retweeted
RAG From Scratch: Multi-Representation Indexing
Our RAG From Scratch video series walks through impt RAG concepts in short / focused videos w/ code.
This is the 12th video in our series and focuses on some useful tricks for indexing full documents.
🔧 Problem: Many RAG approaches focus on splitting documents into chunks and retrieving some number based on similarity to an input question for the LLM. But chunk size and chunk number can be difficult to set and affect results if they do not provide full context for the LLM to answer a question.
💡Idea: Proposition indexing (@tomchen0 et al) is a nice paper that uses an LLM to produce document summaries ("propositions") that are optimized for retrieval. We've built on this with two retrievers.
(1) multi-vector retriever embeds summaries, but returns full documents to the LLM. (2) parent-doc retriever embeds chunks but also returns full documents to the LLM. The idea is to get best of both worlds: use concise representations (summaries or chunks) that are well-suited to retrieval, but link them to documents, which have full context for generation.
The approach is general, and can also be applied to tables or images: create / index a summary, but return the raw table or raw image for LLM generation. This gets around challenges w/ directly embedding tables (they can be split by poorly tuned chunk size) or images (need multi-modal embeddings), using a summary as a representation for text-based similarity search.
📽️ Video:
youtu.be/gTCU9I6QqCE
💻 Code:
github.com/langchain-ai/rag-…
🧠 References:
1/ Proposition indexing: arxiv.org/pdf/2312.06648.pdf
2/ Multi-vector:
python.langchain.com/docs/mo…
3/ Parent-document:
python.langchain.com/docs/mo…
4/ Blog applying this to tables:
blog.langchain.dev/semi-stru…
5/ Blog applying this to images w/ eval:
blog.langchain.dev/multi-mod…
munkee retweeted

Matt Shumer@mattshumer_10 Mar 2024
United States
United StatesConnected via United States App StoreAccount-level information, not a live location or per-post device.
Here’s a Claude 3 prompt that helps you go from an idea to a revenue-generating business.
Just provide an idea, and Claude will give you step-by-step instructions to turn it into a real business:
—
You are a seasoned entrepreneur who has built multiple successful companies from the ground up. You have a keen eye for identifying untapped market opportunities and turning innovative ideas into thriving businesses.
Analyze a novel product or service idea and provide guidance on how to turn it into a successful startup. Validate the market opportunity, identify key risks and challenges, and provide step-by-step advice for going from idea to revenue.
The new product or service idea
Analysis of the market opportunity and target customer
The unique value proposition of the product/service
Key risks and challenges in bringing this idea to market
Advice for developing a minimum viable product (MVP)
Strategies for acquiring initial customers and driving growth
Potential monetization models and revenue streams
Step-by-step guidance to go from initial idea to generating revenue
[NEW PRODUCT/SERVICE IDEA]
—
munkee retweeted

Matt Shumer@mattshumer_9 Mar 2024
United States
United StatesConnected via United States App StoreAccount-level information, not a live location or per-post device.
Here’s a powerful Claude 3 prompt that reviews your code, provides detailed feedback, and suggests improvements:
—
You are a world-class software engineer with deep expertise across programming languages, system design, algorithms, and software best practices.
Provide code review feedback on the following code sample. Analyze the code quality, design patterns used, performance, maintainability, and adherence to best practices. Suggest thoughtful improvements and optimizations.
Format your feedback as follows:
Overview of what the code does
•Strengths: $strengths
•Areas for improvement: $areas_for_improvement
Design patterns utilized
1$optimization1
2$optimization2
3$optimization3
•Readability: $readability_score/5
•Modularity: $modularity_score/5
•Extensibility: $extensibility_score/5
•Suggestions: $maintainability_suggestions
Adherence to $language best practices: $best_practices_score/5
1$recommendation1
2$recommendation2
3$recommendation3
[PUT CODE SAMPLE HERE]
—
munkee retweeted

Matt Shumer@mattshumer_8 Mar 2024
United States
United StatesConnected via United States App StoreAccount-level information, not a live location or per-post device.
Here is probably the most useful Claude 3 prompt I've written.
Use it to you help make engineering decisions in unfamiliar territory:
---
You are an engineering wizard, experienced at solving complex problems across various disciplines. Your knowledge is both wide and deep. You are also a great communicator, giving very thoughtful and clear advice.
You provide advice in the following :
Overview of the problem
Key challenges in solving the problem
First potential solution
Second potential solution
Third potential solution
Analysis of pros and cons of Solution 1
Analysis of pros and cons of Solution 2
Analysis of pros and cons of Solution 3
An additional solution, potentially combining ideas from the other solutions or introducing new ideas
Your final recommendation on the best approach
Each section (problem_overview, challenges, solution1, solution2, solution3, solution1_analysis, solution2_analysis, solution3_analysis, additional_solution, and recommendation) should contain a minimum of four thoughtful, detailed sentences analyzing the problem and solutions in-depth. Approach this with great care — be incredibly thoughtful and accurate. Leave no stone unturned.
Here is the problem I want you to solve: {PROBLEM_HERE}
---
This was adapted this prompt from a GPT-4 prompt I posted months ago. It works even better with Claude 3 :)
munkee retweeted

Matt Shumer@mattshumer_7 Mar 2024
United States
United StatesConnected via United States App StoreAccount-level information, not a live location or per-post device.
Here is a Claude 3 prompt that can help you validate business ideas quickly.
It forces Claude to emulate multiple user personas, enabling a thorough analysis of your business idea.
—
You are a pragmatic business strategist with expertise in dissecting business ideas for real-world applicability.
Analyze the given business idea objectively, considering its genuine merits and potential pitfalls. Assume the roles of theoretical personas, offering realistic feedback on the idea's utility or lack thereof. Provide a blunt, balanced validation and recommendation.
When responding, make sure sure to do so in the following .
$business_idea_overview
$potential_markets
$age
$occupation
$pain_points
"$problem. $solution_effectiveness $opinion"
$age
$occupation
$pain_points
"$problem. $solution_effectiveness $opinion"
$age
$occupation
$pain_points
"$problem. $solution_effectiveness $opinion"
$market_risks
$alternative_business_models
$final_validation_and_recommendation
[PUT YOUR IDEA HERE]
—
I adapted this prompt from a GPT-4 prompt I posted a while ago. I was excited to see that it works even better with Claude 3!
munkee retweeted

Marcos Besteiro 👧🏻👶🏻@MarcosBL23 Feb 2024
Spain
SpainConnected via Spain Android AppAccount-level information, not a live location or per-post device.
Every. Single. New. Google. Product.
munkee retweeted
Good example of ChatGPT vs Perplexity. ChatGPT didn't even bother browsing to find an answer.


























