How to use hnsw_config with pinecone API?

Hi,

The pinecone python client has a class named HnswConfig that exposes the ef_construction, m and ef parameters of hnsw

How can I use those parameters when creating an index or making a query?

Thanks