// This file is autogenerated, DO NOT EDIT
// search/suggesters/phrase-suggest.asciidoc:290

[source, python]
----
resp = client.search(
    index="test",
    suggest={
        "text": "obel prize",
        "simple_phrase": {
            "phrase": {
                "field": "title.trigram",
                "size": 1,
                "smoothing": {
                    "laplace": {
                        "alpha": 0.7
                    }
                }
            }
        }
    },
)
print(resp)
----
