Gen-AI Developer Classroom notes 30/Dec/2025

Interact with LLM

  • Refer Here for openai playground.
  • Select any model like 4o
    Preview
  • Options are
    • temperature: This controls randomness
    • top p: This controls choices
    • Max tokens
  • For prompts we have system and user prompts
    Preview

  • For activities like coding, analysis etc

    • choose less top-p values
    • RAG (top-p < 0.2)
    • temperature < 1
  • For activities like content writing, image generation (creative)

    • choose top-p values >= 0.5
    • temperature >= 1
  • System Prompt:

    • This represents instructions to llm
  • User Prompt
    • This is user question

Example 1

  • We are supposed to come up with a short notes on sherlock holmes.
  • This should be for 8-10 years kids with an intention to read stories rather than scrolling the internet.
    • temperature = 1
    • top_p = 0.5-0.7

Example 2

  • We are supposed to submit summary of research on data structures and their usage in different applications to the professor
  • You are supposed to follow professional IEEE article format

  • GPT 2 visualizer

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading