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

# Conversation

1. [ConvoKit](https://github.com/CornellNLP/ConvoKit) by Cornell - is a toolkit for extracting conversational features and analyzing social phenomena in conversations. It includes several large conversational datasets along with scripts exemplifying the use of the toolkit on these datasets.
   1. #### [Politeness strategies](https://www.cs.cornell.edu/~cristian/Politeness.html) [(API)](https://convokit.cornell.edu/documentation/politenessStrategies.html)

      A set of lexical and parse-based features correlating with politeness and impoliteness.
   2. [Expected Conversational Context Framework](https://tisjune.github.io/research/dissertation) [(API)](https://convokit.cornell.edu/documentation/expected_context_model.html)

      A framework for characterizing utterances and terms based on their expected conversational context, consisting of model implementations and wrapper pipelines.&#x20;
   3. #### [Hypergraph conversation representation](http://www.cs.cornell.edu/~cristian/Patterns_of_participant_interactions.html) [(API)](https://convokit.cornell.edu/documentation/hyperconvo.html)

      A method for extracting structural features of conversations through a hypergraph representation.
   4. #### [Linguistic diversity in conversations](http://www.cs.cornell.edu/~cristian/Finding_your_voice__linguistic_development.html) [(API)](https://convokit.cornell.edu/documentation/speakerConvoDiversity.html)

      A method to compute the linguistic diversity of individuals within their own conversations, and between other individuals in a population.&#x20;

      <br>


---

# 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://www.mlcompendium.com/natural-language-processing/conversation.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.
