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

[source, python]
----
resp = client.search(
    index="semantic-embeddings",
    query={
        "semantic": {
            "field": "content",
            "query": "How to avoid muscle soreness while running?"
        }
    },
)
print(resp)
----
