> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/nlp/natural-language-processing-nlp.md).

# Natural language processing (NLP)

These docs give an insightful tour guide on what is Natural Language Processing and how you can make the most of it on Chatlayer.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FPtoq4GHDgA240eWo7d9D%2FScreenshot%202024-08-14%20at%2014.41.09.png?alt=media&amp;token=309e87fe-09e5-42c0-a992-19c6eac8a846" alt=""><figcaption></figcaption></figure>

## Start with NLP

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>NLP navigation</strong></td><td>Get familiar with all tabs under your NLP menu.</td><td></td><td><a href="/navigation/natural-language-processing-nlp.md">NLP</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FRib1s0kfxFzF0kv6BIRE%2FScreenshot%202024-08-28%20at%2011.04.30.png?alt=media&amp;token=b1d4b18e-c299-409a-ac21-daeafcd45e27">Screenshot 2024-08-28 at 11.04.30.png</a></td></tr><tr><td><strong>Concepts</strong></td><td>All the basics to get started.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/basic-nlp-concepts.md">Basic NLP concepts</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FJL2f5vWkrhjMBrco9HCu%2FScreenshot%202024-08-28%20at%2010.30.51.png?alt=media&amp;token=5d7e662d-b9d8-46cf-8d43-7516e47d1007">Screenshot 2024-08-28 at 10.30.51.png</a></td></tr><tr><td><strong>Entities</strong></td><td>Detect precious info in the conversation.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/detect-information-with-entities.md">Detect information with entities</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F2GS1rEfMdRnjySsUHVgT%2FScreenshot%202024-08-28%20at%2010.31.27.png?alt=media&amp;token=490f0bf0-2ffb-4b53-9c4a-95840bd81284">Screenshot 2024-08-28 at 10.31.27.png</a></td></tr><tr><td><strong>Best practices</strong></td><td>Tips to make a strong NLP model.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/how-to-nlp.md">NLP best practices</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FhWdGk6mG6kQc2z0QFLg7%2FScreenshot%202024-08-26%20at%2014.38.32.png?alt=media&amp;token=36e3a7bd-76a7-4a91-920b-347e18a3d82f">Screenshot 2024-08-26 at 14.38.32.png</a></td></tr><tr><td><strong>Train your NLP</strong></td><td>Teach your model to recognize new expressions.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/train-your-nlp.md">Train your NLP</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FNJU7dynxvsiLYHYwtMIY%2FScreenshot%202024-08-28%20at%2010.33.31.png?alt=media&amp;token=8126a58c-cbe2-453a-a942-4fd47fd3c8a0">Screenshot 2024-08-28 at 10.33.31.png</a></td></tr></tbody></table>

## Go further

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>AI intent booster</strong></td><td>Your best way to make a small bot smarter.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/ai-intent-booster.md">AI intent booster</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FIGdG91Y4Fz6MQhTz0CG6%2FScreenshot%202024-08-28%20at%2010.36.13.png?alt=media&amp;token=519f2edc-1b19-4459-8512-a18352763d89">Screenshot 2024-08-28 at 10.36.13.png</a></td></tr><tr><td><strong>Context</strong></td><td>To use the same intent in different situations.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/using-context.md">Context</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FTz2AQTwTSxnrhzSu5ZuR%2FScreenshot%202024-08-28%20at%2010.36.54.png?alt=media&amp;token=169f82c4-8317-4ea7-985a-fe84839b43a3">Screenshot 2024-08-28 at 10.36.54.png</a></td></tr><tr><td><strong>NLP import/export</strong></td><td>To work on your NLP outside of Chatlayer.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/nlp-import-and-export.md">NLP import &amp; export</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FikwMwF13xGM4qp7CEFMP%2FScreenshot%202024-08-28%20at%2010.09.47.png?alt=media&amp;token=b3790eb6-b7fa-4f62-b9a8-89c452ff9deb">Screenshot 2024-08-28 at 10.09.47.png</a></td></tr><tr><td><strong>Sentiment analysis</strong></td><td>To redirect the conversation based on the user's sentiment.</td><td></td><td><a href="/nlp/natural-language-processing-nlp/sentiment-analysis.md">Sentiment analysis</a></td><td><a href="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FhYB5uvHneq4BJcvghRZJ%2FScreenshot%202024-08-28%20at%2010.38.50.png?alt=media&amp;token=dd70b508-03c0-49fc-9ab1-4e28a3573f8f">Screenshot 2024-08-28 at 10.38.50.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chatlayer.ai/nlp/natural-language-processing-nlp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
