Introduction
Youâve poured your energy into brainstorming your next big startupânotes scattered across Notion, napkins, Google Docs. Yet when itâs time to pitch, youâre stuck wrestling with slide layouts, consistent styling and hunting down market data. Precious hours slip away. What if you could hand off that busywork to AI, so you can focus on refining your vision and talking to customers?
Why This Matters
Earlyâstage founders, hackathon teams and corporate innovators all face the same crunch: you need a clear, compelling presentation fast. Manually crafting a deck can take days, and design isnât everyoneâs forte. Our notebook automates the entire processâso you spend less time on formatting and more time on the story that wins funding and attention.
Technology Stack
We combine industryâleading tools into one seamless pipeline:
⢠Google Gemini for fewâshot prompting, embeddings and function calls
⢠LangChain to orchestrate prompts and retrieval logic
⢠FAISS as a vector store for instant similarity search over your own notes
⢠Notion API to fetch and clean raw idea pages
⢠pythonâpptx to programmatically assemble a polished PowerPoint deck
The Core Workflow
Ingest and Embed
Fetch your Notion pages, split them into biteâsized chunks, then embed each chunk with Gemini. FAISS indexes those vectors for blazingâfast retrieval.
go
Copy
Edit
splitter = RecursiveCharacterTextSplitter(chunk_size=512, chunk_overlap=50)
documents = splitter.split_documents([Document(page_content=notes_text)])
vectordb = FAISS.from_documents(documents, embeddings)
vectordb.save_local("notion_vectordb_gemini")
retriever = vectordb.as_retriever(search_kwargs={"k": 4})
Generate Structured Pitch
Teach Gemini your ideal slide format with a few realâworld examples, then ground its output in your own notes via RetrievalâAugmented Generation. The result is clean JSON containing an elevator pitch, slide bullets and investor links.
vbnet
Copy
Edit
prompt = build_rag_prompt(notes_text, vibe="VCâfriendly")
resp = client.models.generate_content(
model="gemini-2.5-pro-exp-03-25",
contents=prompt,
tools=[Tool(google_search=GoogleSearch())],
generation_config=GenerateContentConfig(
allow_tool_calls=True,
response_mime_type="application/json"
)
)
pitch = _safe_json(resp.text)
Export to PowerPoint
Use pythonâpptx to turn that JSON into a styled slide deckâcomplete with title slide, custom backgrounds and formatted text boxesâin one automated step.
arduino
Copy
Edit
prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[0])
slide.shapes.title.text = "đ Elevator Pitch"
slide.placeholders[1].text = pitch["elevator_pitch"]
for text in pitch["deck"]:
title, body = text.split(":", 1)
sl = prs.slides.add_slide(prs.slide_layouts[5])
sl.background.fill.solid()
sl.background.fill.fore_color.rgb = RGBColor(242,242,242)
# add title and body textboxesâŚ
prs.save("styled_pitch_deck.pptx")
Investor Q&A Simulation
Stressâtest your story by asking Gemini to play investor and founder. Youâll get three probing questionâandâanswer pairs that surface narrative gaps before demo day.
arduino
Copy
Edit
def simulate_qa(pitch_text):
prompt = f"Act as an investor and ask 3 probing questions about:\n{pitch_text}"
return client.models.generate_content(model=model_id, contents=prompt).text
qa_pairs = simulate_qa(pitch["elevator_pitch"])
Problems We Solve
⢠Timeâcrunched deck creationâminutes, not days
⢠Design overwhelmâconsistent, professional styling every slide
⢠Message driftâfewâshot templates lock in your structure and tone
⢠Credibility gapsâlive web searches surface relevant investor links
⢠Narrative blind spotsâsimulated Q&A reveals weaknesses early
What Youâll Walk Away With
⢠A concise, toneâmatched elevator pitch
⢠A nineâslide outline covering problem, solution, market, model, traction, team, financials and ask
⢠Curated investor links and benchmarks
⢠Three investorâstyle Q&A pairs to sharpen your narrative
⢠A fully formatted PowerPoint deck, ready to share or customize
Who Benefits
⢠Founders racing to seed or preâseed deadlines
⢠Hackathon teams needing a demoâday deck in hours
⢠Accelerators and incubators scaling pitch prep for cohorts
⢠Corporate innovators pitching new ideas internally
Pitch Builder frees you from slideâmaking drudgery so you can return your energy to product, market and customer. Plug in your Notion workspace, pick your vibeâVCâfriendly, quirky, social impactâand watch your ideas become investorâready storytelling in under sixty seconds.
Next Steps
Clone or open the notebook on Kaggle(https://www.kaggle.com/code/adityagupta961/gen-ai-pitchpal-2)
Install dependencies and set your API keys
Run each cell: build the vector store, generate your pitch, simulate Q&A, export PPTX
Download and share your investorâready deck
Top comments (0)