Add extension document for embedding API.

will change