// This file is autogenerated, DO NOT EDIT
// search/search-your-data/semantic-search-semantic-text.asciidoc:36

[source, python]
----
resp = client.indices.create(
    index="semantic-embeddings",
    mappings={
        "properties": {
            "content": {
                "type": "semantic_text"
            }
        }
    },
)
print(resp)
----
