How are sequential content blocks of the same type treated / what are they equivalent to?

When supplying multiple content blocks of the same type - i.e.

{"role": "user", "content": [
        {
          "type": "text",
          "text": "What does the following text say?",
        },
        {
          "type": "text",
          "text": "Hello World",
        }
   ]
}

Is that equivalent to

  1. (no space direct concatenation)
{"role": "user", "content": [
        {
          "type": "text",
          "text": "What does the following text say?Hello World"
        }
   ]
}
  1. (single whitespace direct concatenation)
{"role": "user", "content": [
        {
          "type": "text",
          "text": "What does the following text say? Hello World"
        }
   ]
}
  1. (new line concatenation)
{"role": "user", "content": [
        {
          "type": "text",
          "text": "What does the following text say?\nHello World"
        }
   ]
}
  1. A different spacing
  2. The models interpret the content different from text supplied in the some content element parameter
  3. Something else
  4. There is no equivalence

Thanks!

1 Like