# Copilot

### Article Generation

To make it easy to go from an issue resolution to a knowledge base article, Pylon allows you to generate an article directly from an issue.

Pylon's AI will read through the conversation and draft a knowledge base article documenting the solution. You can then make modifications to this article and immediately publish it!&#x20;

{% hint style="info" %}
If you have created [article templates](https://docs.usepylon.com/pylon-docs/knowledge-base/articles-and-collections/templates), you can specify a template for the AI to follow when it's generating!
{% endhint %}

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2Ffmm42ahMPiohETRwPTs7%2Farticle_generation.gif?alt=media&#x26;token=0a8912e5-96bf-4499-872e-9b7a17e9a794" alt=""><figcaption></figcaption></figure>

### Similar Article Detection

When creating a new article in the knowledge base, Pylon will detect if there are any similar articles already present and warn you. This helps prevent the creation of duplicate content.

{% hint style="info" %}
Pylon can detect similar content even if the duplicate knowledge is outside of Pylon :exploding\_head:
{% endhint %}

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2FCFKxsqdm98kvjcUIgMmh%2FCleanShot%202024-12-01%20at%2015.41.50.gif?alt=media&#x26;token=aa503492-a5d0-48e1-9572-4339cc32ead0" alt=""><figcaption></figcaption></figure>

### Copilot

Highlight any text and press "Ask AI" to get help iterating on articles. This could include rewording sections, changing paragraph structure, revising tone, or anything else you can think of!

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2FmjAJv6lfHJaMQvDrBoJs%2F%20kb-copilot.gif?alt=media&#x26;token=53c07e40-7777-44df-96f7-77209a2858be" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.usepylon.com/pylon-docs/knowledge-base/articles-and-collections/copilot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
