# copilot问答模式很好玩儿呀

* 抖音：<https://v.douyin.com/SRQ1m4N/>
* B站：<https://www.bilibili.com/video/BV11y4y1o7Wp/>

大家有没有发现啊

copilot现在可以像GPT一样

跟他对话

比如说这行代码看不懂

就可以这样问他“q: uid有什么作用”

注意

大家看 它就回答我了

“为了让每一个input都可以全选呢

它需要一个唯一的class...

那这个demo先不展开说啊

基本上他说的是对的

我们再来看另一个例子

这里边呢你有了一个Cleave

我们我们就不知道这Cleave是什么

可以在这问

q: Cleave是什么

注意

大家看出来了

Cliff是一个用于格式化的库...

然后呢我可以继续问

q: 官网

是什么

注意

他给我一个地址

大家看 这就是Cleave的官网了

那具体它有什么用呢

我觉得啊

尤其是我们在阅读源码的时候

比方说我打开一个vue的原码

这里边我对这个newDeps不是很理解

所以呢我在这里可以提问

q: 为什么需要一个newDeps

注意

大家看 他就回答我了因为...

好上面我说的都是copilot

大家都知道copilot现在是收费的

然后呢

还有很多小伙伴推荐了另一个插件

叫：CodeGeex

它是对标copilot

但是呢好处是它是免费的

大家如果感兴趣的话可以来试一下


---

# 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://sunzsh.gitbook.io/xiaoshan.bug/copilot-wen-da-mo-shi-hen-hao-wan-er-ya.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.
