-
Notifications
You must be signed in to change notification settings - Fork 35
DOCSP-43494-copilot-docs-command #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
2b2bf55
26a17b7
376342b
cf0abce
3e19dd9
294a386
efcca3b
a03f81f
8eef902
ac86815
a1ef4be
9c534af
c0d8842
c47a08a
5e0bc95
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,69 @@ | ||||||
.. _vsce-copilot-docs: | ||||||
|
||||||
============== | ||||||
/docs Command | ||||||
============== | ||||||
|
||||||
.. default-domain:: mongodb | ||||||
|
||||||
.. contents:: On this page | ||||||
:local: | ||||||
:backlinks: none | ||||||
:depth: 1 | ||||||
:class: singlecol | ||||||
|
||||||
The ``/docs`` command provides MongoDB-specific information, | ||||||
supplemented by links to MongoDB Documentation. The |copilot| is | ||||||
knowledgeable of the latest MongoDB Documentation and uses the | ||||||
jeff-allen-mongo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
MongoDB Docs Chatbot API to link to information in addition to | ||||||
|
MongoDB Docs Chatbot API to link to information in addition to | |
MongoDB Docs Chatbot to link to information in addition to |
I don't believe the API is intended for use outside of our use cases; we don't want folks using it at the moment. Maybe we can leave the API part out so folks don't get ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the mention of the API!
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add a second example here where the docs command recommends a DDP product like vector search or search in the context of "how do I improve the searching speed for query" and it responds with search/vector search recommendation? For vector search we might have to ask something like 'semantic search' in the prompt. This way users know that it can also be leveraged for performance-related questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a second example that recommends Atlas Vector Search!
Check failure on line 63 in source/copilot-docs.txt
GitHub Actions / TDBX Vale rules
[vale] reported by reviewdog 🐶
[MongoDB.ConciseTerms] 'remember' is preferred over 'keep in mind'.
Raw Output:
{"message": "[MongoDB.ConciseTerms] 'remember' is preferred over 'keep in mind'.", "location": {"path": "source/copilot-docs.txt", "range": {"start": {"line": 63, "column": 26}}}, "severity": "ERROR"}
Check failure on line 65 in source/copilot-docs.txt
GitHub Actions / TDBX Vale rules
[vale] reported by reviewdog 🐶
[MongoDB.ConciseTerms] 'more' is preferred over 'additional'.
Raw Output:
{"message": "[MongoDB.ConciseTerms] 'more' is preferred over 'additional'.", "location": {"path": "source/copilot-docs.txt", "range": {"start": {"line": 65, "column": 4}}}, "severity": "ERROR"}
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we need the screenshot here, if it's just showing what we've described above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll check in with Garaub about this one - he originally asked for screenshots on the /query page to illustrate the UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good - happy to leave in if it's a PM request :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GaurabAryal do you have preference here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah i think since this is such a new product, it is better to have the visuals in the docs. Let's keep it for now.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,17 @@ Commands | |
The ``/query`` command assists in generating queries from a natural | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A bit above this, in the paragraph before, we have written:
Should we add something about the MongoDB documentation chatbot there as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the sake of simplicity, I would recommend only mentioning the documentation chatbot on the /docs page There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did add a mention of learning about MongoDB in this section (referring to the /docs command) |
||
language against a connected MongoDB cluster. | ||
|
||
:ref:`/docs <vsce-copilot-docs>` | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The ``/docs`` command provides links to MongoDB documentation to | ||
supplement generated information. | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/query </copilot-query> | ||
/docs </copilot-docs> | ||
AI & Data Usage </ai-data-usage> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we change the second sentence to something like:
For the docs command, the underlying model of the MongoDB Copilot Extension leverages Retrieval-Augmented Generation (RAG) to ensure responses are based on the latest version of MongoDB Documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!