> For the complete documentation index, see [llms.txt](https://docs.usepylon.com/pylon-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usepylon.com/pylon-docs/knowledge-base/articles-and-collections/copilot.md).

# Copilot

Use AI Assistant features to help streamline your knowledge curation.

### 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](/pylon-docs/knowledge-base/articles-and-collections/templates.md), 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&amp;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&amp;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&amp;token=53c07e40-7777-44df-96f7-77209a2858be" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
