# How to Optimize Document Q\&A

Besides the document evaluation function, you can optimize answers by using syntax completion, filling in questions and replies, and providing reference URLs.

Syntax completion can optimize your answers and add card replies. Card replies allow you to promote your products through advertisements when keywords are matched.

If syntax completion is used for Document Q\&A (advanced features not enabled) and the reply's similarity to the question is greater than 0.9 (different languages are considered dissimilar), it will be sent directly without deducting AI credits.

Future integrations may include categories or the ability to provide relevant document IDs for concurrent searches.

<figure><img src="https://2300156133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm7EtDZv6g3qvL73SRTQT%2Fuploads%2FKKfzH7uqxHsCFUbjzvfP%2Fimage.png?alt=media&#x26;token=4dbe936f-a2dd-48df-9607-421ed5ad29b1" alt=""><figcaption></figcaption></figure>
