AI Resources

ai

Enable AI Animation

This sentence has five words. Here are five more words. Five-word sentences are fine. But several together become monotonous. Listen to what is happening. The writing is getting boring. The sound of it drones. It’s like a stuck record. The ear demands some variety.

Now listen. I vary the sentence length, and I create music. Music. The writing sings. It has a pleasant rhythm, a lilt, a harmony. I use short sentences. And I use sentences of medium length.

And sometimes, when I am certain the reader is rested, I will engage him with a sentence of considerable length, a sentence that burns with energy and builds with all the impetus of a crescendo, the roll of the drums, the crash of the cymbals–sounds that say listen to this, it is important. — Gary Provost

What’s a no-shot (zero-shot), one-shot, and few-shot?

  1. A no-shot is a query with no examples. E.g.
    Classify this review: I loved this movie!
    Sentiment:

  2. A one-shot, is where you’ve given one example. E.g.
    Classify this review: I loved this movie!
    Sentiment: Positive
    Classify this review: I don’t like this chair
    Sentiment:

  3. A few-shot, is, you guessed it, given a few examples. E.g.
    Classify this review: I loved this movie!
    Sentiment: Positive
    Classify this review: I don’t like this chair
    Sentiment: Negative
    Who would use this product?
    Sentiment:

Source: Zero shot , One shot and Few shot learning with examples

What’s a vector database?

How do you deal with streaming and non-streaming responses?

What’s the RISEN framework for prompt engineering?

How does a LLM work?

AI Academy: The RISEN Framework - ServiceNow Community

ServiceNow Generative AI Prompt Library - ServiceNow Generative AI Prompt Library (service-now.com)


View this page on GitHub.