Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pgml-dashboard/src/api/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ async fn blog_handler<'a>(path: PathBuf, cluster: &Cluster) -> Result<ResponseOk
cluster,
&path,
vec![
NavLink::new("How-to Improve Search Results with Machine Learning")
.href("/blog/how-to-improve-search-results-with-machine-learning"),
NavLink::new("pgml-chat: A command-line tool for deploying low-latency knowledge-based chatbots: Part I")
.href("/blog/pgml-chat-a-command-line-tool-for-deploying-low-latency-knowledge-based-chatbots-part-I"),
NavLink::new("Announcing support for AWS us-east-1 region")
Expand Down
1 change: 1 addition & 0 deletions pgml-dashboard/src/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
mod component;
pub(crate) use component::{component, Component};


// src/components/breadcrumbs
pub mod breadcrumbs;
pub use breadcrumbs::Breadcrumbs;
Expand Down
5 changes: 5 additions & 0 deletions pgml-dashboard/src/utils/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
"pgml.norm_l2",
"CONCURRENTLY",
"ON\n",
"VALUES",
"@@",
"=>",
"GENERATED ALWAYS AS",
"STORED",
"IF NOT EXISTS",
"pgml.train",
"pgml.predict",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pgml-dashboard/templates/layout/nav/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</li> -->
<% } %>
<li class="nav-item d-flex align-items-center">
<a class="nav-link p-0" href="/blog/announcing-support-for-aws-us-east-1-region">Blog</a>
<a class="nav-link p-0" href="/blog/how-to-improve-search-results-with-machine-learning">Blog</a>
</li>
</ul>

Expand Down