# Recommendations

### General recommendations

Basically the longer roles the better. However, roles are being sent with every message, and consume tokens. Long (hundreds of words) will noticeably eat your tokens reserve.

You can always check SmartBots AI history logs and determine how much tokens each AI message consumes.

### Limit response length

It is often desirable to limit a response length (to avoid tokens consumption, and response faster). We recommend adding the following text to roles:

> You are laconic. Always keep your answers under 50 words or less, especially when someone requests to tell more.

(adjust "50 words" to your own limitation).

### Offer human support

If you want your bot to redirect to a human support in complex cases add the following to "personality":

> If you don't know an answer; or not sure; or need a real world information; or don't have access to some information, offer to contact Glaznah Gassner instead. He knows the responses to all questions.

(specify desired SL name instead of Glaznah Gassner).

### NSFW (adult) Roles

If adult or explicit interaction is required, you must use an **uncensored AI model** that supports NSFW content.

You can switch your role to such a model while editing a role:

<figure><img src="https://1916242109-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ZLBWYefH89ZIPVlkPSS%2Fuploads%2FS2oV2HFjgQEZRkW151B3%2Fimage.png?alt=media&#x26;token=2627d74e-9834-4f77-b864-55495eb11b38" alt="" width="520"><figcaption></figcaption></figure>

### Additional recommendations for AI prompt construction

1. **Use a structured approach.** Break down your prompt into clear sections or bullet points. Clearly separating personality, knowledge, and specific requirements will result in more precise and targeted responses.
2. **Specify desired tone or style (*****personality*****).** For instance, decide if the AI should sound formal, casual, friendly, or humorous. This clarifies the style of communication from the outset.
3. **Provide sufficient context (*****knowledge*****).** Make sure to include any important background information, constraints, or specialized terminology. This helps the AI respond accurately and maintain consistency throughout the conversation.

### Read more

Proceed to next sections of our AI docs:

1. Short [Simple examples](https://smartbots-1.gitbook.io/docs-v2/ai/simple-examples)
2. Comprehensive [Roles library](https://smartbots-1.gitbook.io/docs-v2/ai/roles-library)
