-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nx-dev): create a more chat-like interface for ai docs (#18530)
- Loading branch information
Showing
3 changed files
with
164 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { renderMarkdown } from '@nx/nx-dev/ui-markdoc'; | ||
|
||
export const warning = renderMarkdown( | ||
` | ||
{% callout type="warning" title="Always double check!" %} | ||
This feature is still in Alpha. | ||
The results may not be accurate, so please always double check with our documentation. | ||
{% /callout %} | ||
`, | ||
{ filePath: '' } | ||
).node; | ||
|
||
export const infoBox = renderMarkdown( | ||
` | ||
{% callout type="info" title="New question or continue chat?" %} | ||
This chat has memory. It will answer all it's questions in the context of the previous questions. | ||
If you want to ask a new question, you can reset the chat history by clicking the "Ask new question" button. | ||
{% /callout %} | ||
`, | ||
{ filePath: '' } | ||
).node; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c85a4d9
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.
Successfully deployed to the following URLs:
nx-dev – ./
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev