Slash Commands
3 commands

Slash Commands Reference

Prefix your message with a slash command to activate a specific SOHAM capability. Commands give you precise control over how the AI responds.

Quick Reference

/solve

Solve math problems, coding challenges, and logical puzzles step-by-step.

/search

Trigger a live DuckDuckGo web search and get summarised, up-to-date results.

/summarize

Condense long text, articles, or pasted content into clear, structured summaries.

/solve

Math & Logic

Solve math problems, coding challenges, and logical puzzles step-by-step.

Syntax

/solve <problem>

Examples

/solve integrate x^2 * sin(x) dx

Step-by-step integration by parts with LaTeX rendering

/solve find the time complexity of bubble sort

O(n²) worst/average, O(n) best — with explanation

/solve two trains 300km apart approach at 60 and 90 km/h, when do they meet?

Full working: t = 300 / (60+90) = 2 hours

/solve debug this Python: for i in range(10) print(i)

Missing colon after range(10) — corrected code provided

Tips

  • Include units for physics problems (e.g., "60 km/h")
  • Paste code snippets directly after /solve for debugging
  • Works with LaTeX notation: /solve \int_0^1 x^2 dx
  • Ask for a specific method: /solve using dynamic programming...

When to use /solve vs natural language

Use /solve when you need structured, step-by-step working — not just an answer. It forces SOHAM into problem-solving mode.

/search

Web Search

Trigger a live DuckDuckGo web search and get summarised, up-to-date results.

Syntax

/search <query>

Examples

/search latest Next.js 15 features

Live results: React 19, Turbopack stable, improved caching...

/search best free vector databases 2025

Ranked list: Qdrant, Weaviate, Chroma — with pros/cons

/search India vs Australia cricket score today

Real-time score from live web results

/search how to fix CORS error in Express.js

Top solutions with code snippets from current docs

Tips

  • SOHAM also auto-triggers search for time-sensitive questions — /search forces it
  • Combine with follow-ups: "/search X" then "now summarize the third result"
  • Use for current events, prices, scores, or anything that changes frequently
  • Quotes work: /search "exact phrase" site:github.com

When to use /search vs natural language

Use /search when you need real-time or recent information that the AI model may not have in its training data.

/summarize

Text Condensation

Condense long text, articles, or pasted content into clear, structured summaries.

Syntax

/summarize <text or URL>

Examples

/summarize [paste 2000-word article]

5-bullet executive summary with key takeaways

/summarize in 3 sentences: [research abstract]

Concise 3-sentence distillation

/summarize as bullet points: [meeting transcript]

Action items and decisions in bullet format

/summarize for a 10-year-old: [technical doc]

Plain-language explanation with analogies

Tips

  • Specify format: "as bullet points", "in 3 sentences", "as a table"
  • Specify audience: "for a beginner", "for a CEO", "for a developer"
  • Works great after /search — summarize the results you just got
  • Paste PDF text here if you want a quick summary without uploading

When to use /summarize vs natural language

Use /summarize when you have a wall of text and need the key points fast. Especially useful for research papers, articles, and meeting notes.

Real-World Scenarios

Combine commands in sequence to tackle complex, multi-step tasks.

Research → Understand → Apply

1

/search transformer architecture 2024 improvements

2

/summarize the search results above as bullet points

3

/solve implement a simple self-attention mechanism in Python

Debug a Production Issue

1

/search Next.js 15 hydration error boundary fix

2

/solve my component throws: "Text content does not match server-rendered HTML"

3

/summarize the fix in one paragraph for my team

Exam Prep

1

/solve explain the difference between BFS and DFS with examples

2

/solve give me 3 practice problems on graph traversal

3

/summarize everything we covered into a cheat sheet

Commands vs Natural Language

You don't always need a slash command

SOHAM's smart routing automatically detects intent from plain messages. Asking "what's the weather in Delhi?" will trigger a web search without needing /search. Commands are most useful when you want to be explicit or when auto-routing picks the wrong mode.

Think of slash commands as overrides — they guarantee a specific behaviour regardless of how the message reads.

Try a command now

Head to the chat and type /solve, /search, or /summarize followed by your query.

Open Chat