You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/05/10 18:23:23 UTC
[incubator-nlpcraft-website] branch master updated: Update
getting-started.html
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new a2d6d7e Update getting-started.html
a2d6d7e is described below
commit a2d6d7eac342a8d79a9daca10f4f729367a79dc7
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Mon May 10 11:23:15 2021 -0700
Update getting-started.html
---
getting-started.html | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/getting-started.html b/getting-started.html
index 49726f8..46826e1 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -40,8 +40,14 @@ id: getting_started
<li>You are using MacOS/Linux environment.</li>
</ul>
</section>
- <section id="probe-server">
- <h2 class="section-title">Data Probe <span class="amp">&</span> REST Server <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
+ <section>
+ <h2 class="section-title">Weather Forecast <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
+ <p>
+ We'll be testing <a href="/examples/weather_bot.html">Weather Example</a>
+ to ask questions about weather forecast using REST APIs. This example returns a JSON weather
+ data for variety of different inquiries about the past, present or future weather conditions.
+ </p>
+ <h2 id="probe-server" class="section-sub-title">Data Probe <span class="amp">&</span> REST Server <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
<p>
<a href="/server-and-probe.html">Data probes</a> are used to deploy and host data model, while <a href="/server-and-probe.html">REST server</a> (or a
cluster of servers) is used to accept client REST calls and route them to the data model deployed on data probes.
@@ -49,10 +55,7 @@ id: getting_started
<p>
Data probe and REST server are both Java applications.
In this tutorial, we'll use <a href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script that comes with NLPCraft
- to manage them.
- </p>
- <p>
- To start REST server and data probe with default configurations - run the following two commands:
+ to manage them. To start REST server and data probe - run the following two commands:
</p>
<nav>
<div class="nav nav-tabs" role="tablist">
@@ -65,7 +68,7 @@ id: getting_started
<div class="tab-pane fade show active" id="nav-start-cmd" role="tabpanel">
<pre class="brush: bash">
$ bin/nlpcraft.sh start-server
- $ bin/nlpcraft.sh start-probe
+ $ bin/nlpcraft.sh start-probe --cp=./build/nlpcraft-examples/weather/nlpcraft-example-weather-{{site.latest_version}}.jar
</pre>
</div>
<div class="tab-pane fade show" id="nav-srv-start" role="tabpanel">
@@ -84,14 +87,7 @@ id: getting_started
<p>
At this point data probe and the REST server are started and connected.
</p>
- </section>
- <section id="querying">
- <h2 class="section-title">Weather Forecast <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
- <p>
- We'll be testing <a href="/examples/weather_bot.html">Weather Example</a>
- to ask questions about weather forecast using REST APIs. This example returns a JSON weather
- data for variety of different inquiries about the past, present or future weather conditions.
- </p>
+ <h2 id="querying" class="section-sub-title">Using REST API <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
<p>
We will be using NLPCraft CLI script to issue REST calls. Let's start NLPCraft CLI in interactive REPL mode
by running <a href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script with no argument:
@@ -135,7 +131,6 @@ id: getting_started
through command history.
</li>
</ul>
- <h2 class="section-sub-title">Asking <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
<p>
While in REPL mode lets use <code>ask</code> command to issue REST requests to our data model.
</p>