{"id":546476,"date":"2025-02-20T15:45:49","date_gmt":"2025-02-20T14:45:49","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=ai&#038;p=546476"},"modified":"2025-02-20T15:45:58","modified_gmt":"2025-02-20T14:45:58","slug":"doc-powered-ai-assistant","status":"publish","type":"ai","link":"https:\/\/blog.jetbrains.com\/pt-br\/ai\/2025\/02\/doc-powered-ai-assistant","title":{"rendered":"Doc-Powered AI Assistant"},"content":{"rendered":"\n<p>Starting with the 2024.3 version of JetBrains IDEs, AI Assistant can not only access the context from your project but also the IDE\u2019s own documentation. Whenever you have a question about how to accomplish a task in a JetBrains IDE, such as WebStorm, IntelliJ IDEA, or PyCharm, AI Assistant is here to help.<\/p>\n\n\n    <div class=\"buttons\">\n        <div class=\"buttons__row\">\n                                                <a href=\"http:\/\/jetbrains.com\/ai\/#plans-and-pricing\" class=\"btn \" target=\"\" rel=\"noopener\">Try AI Assistant<\/a>\n                                    <\/div>\n    <\/div>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">How do I use it?<\/h2>\n\n\n\n<p>As long as you are using AI Assistant, the feature works out of the box. When you ask an IDE-related question, AI Assistant will automatically perform the search for you. But if you want AI Assistant to restrict its search to documentation specifically, use the <code>\/docs<\/code> command:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/02\/docs-command.png\" alt=\"\/docs command in the AI Assistant prompt\"\/><\/figure>\n\n\n\n<p>If relevant information is found in the documentation, AI Assistant will cite the source and give you a link to the full document.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How is this different from good old search?<\/h2>\n\n\n\n<p>Under the hood, the <code>\/docs<\/code> command uses RAG (retrieval-augmented generation), an approach that combines the power of semantic search and language models. But that\u2019s not all: <a href=\"https:\/\/flounder.dev\/posts\/rag-semantic-markup\/\" target=\"_blank\" rel=\"noopener\">We took traditional RAG one step further<\/a>, enabling several distinguishing features of AI Assistant.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Action search<\/h2>\n\n\n\n<p>When AI Assistant finds an IDE feature that can solve your query, it will display a button that you can click to execute the corresponding action right away. This lets you use the features directly rather than exploring dialogs and menus.<br><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/02\/docs-command-output-2x.png\" alt=\"AI assistant provides the steps to use a feature together with a button to invoke it right away\" width=\"556px\"><br>If you know that a certain feature exists, you can ask about it specifically, or you can just describe your scenario and see if the IDE has features to address your request.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">IDE settings<\/h2>\n\n\n\n<p>The same works for IDE settings. When giving directions on how to access a particular setting, AI Assistant will also give you a clickable link, which will take you directly to the corresponding settings page:<br><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/02\/settings-2x.png\" alt=\"AI Assistant provides a link to a settings page\" width=\"568px\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shortcuts<\/h2>\n\n\n\n<p>If the answer mentions a shortcut, the shortcut will use the correct key binding for your keymap.<br><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/02\/shortcuts-2x.png\" alt=\"AI Assistant displays correct shortcut in accordance with the selected keymap\" width=\"567px\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Can I add context to a documentation-related query?<\/h2>\n\n\n\n<p>Yes! Adding project context also works with the <code>\/docs<\/code> command, which allows you to find solutions for problems related to specific pieces of code or configuration files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your feedback is very important!<\/h2>\n\n\n\n<p>As a host of new features and improvements are steadily making their way towards you, we are excited to learn what you think about the <code>\/docs<\/code> command in the comments. Your experiences and insights are very valuable to us.<\/p>\n","protected":false},"author":1206,"featured_media":547658,"comment_status":"closed","ping_status":"closed","template":"","categories":[8526,8397],"tags":[8168],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/ai\/546476"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/ai"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/types\/ai"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/users\/1206"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/comments?post=546476"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/ai\/546476\/revisions"}],"predecessor-version":[{"id":547711,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/ai\/546476\/revisions\/547711"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media\/547658"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media?parent=546476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/categories?post=546476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/tags?post=546476"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/cross-post-tag?post=546476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}