Skip to content

Instantly share code, notes, and snippets.

View samarv's full-sized avatar
🎯
Focusing

Samarvir Singh samarv

🎯
Focusing
View GitHub Profile
@samarv
samarv / CLAUDE.md
Created January 13, 2026 12:55
CLAUDE.md for Product Management

Product Management Project - Claude Instructions

Memory Hierarchy (As of January 2026):

  • Project Shared Memory: .claude/CLAUDE.md (this file, auto-loaded, <20KB)

  • User Preferences & Private Memory: .claude/CLAUDE.local.md (auto-loaded if exists, <5KB) - User-specific preferences, communication style, and private context

from flask import Flask, jsonify, request
import requests
import PyPDF2
import tempfile
import pickle
import retrying
from langchain.llms import OpenAI
from langchain.chains.qa_with_sources import load_qa_with_sources_chain
from langchain.docstore.document import Document
from langchain.embeddings.openai import OpenAIEmbeddings