blob: ec2a3356d57a6352b579323a86a14d41e1a71bde [file] [log] [blame]
---
active_crumb: Weather Bot <code><sub>ex</sub></code>
layout: documentation
id: weather_bot
---
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="col-md-8 second-column">
<section id="overview">
<h2 class="section-title">Overview</h2>
<p>
This example demonstrates relatively complete NLI-based weather service with JSON output and a non-trivial
intent matching logic. It uses <a target="new" href="https://www.apixu.com">https://www.apixu.com</a>
REST service for the actual weather information.
</p>
<p>
Complexity: <span class="complexity-two-star"><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="far fa-star"></i></span><br/>
Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/src/main/scala/org/apache/nlpcraft/examples/weather">GitHub</a>
</p>
</section>
</div>
<div class="col-md-2 third-column">
<ul class="side-nav">
<li class="side-nav-title">On This Page</li>
<li><a href="#overview">Overview</a></li>
<li class="side-nav-title">Quick Links</li>
<li>
<img alt=github" class="quick-link-img mr-2" src="/images/github_logo.png"><a
target="github"
href="https://github.com/apache/incubator-nlpcraft/tree/master/src/main/scala/org/apache/nlpcraft/examples">Examples</a>
</li>
<li>
<i class="fab fa-java mr-2"></i><a target="_" href="/apis/latest/index.html">Javadoc</a>
</li>
<li>
<img alt="Apiary" class="quick-link-img mr-2" src="/images/apiary.svg"><a
href="https://nlpcraft.docs.apiary.io"
target="apiary">REST API</a>
</li>
<li>
<i class="fas fa-download mr-2"></i><a href="/download.html">Download</a>
</li>
<li>
<i class="fas fa-blog mr-2"></i><a href="/blogs.html">Blogs</a>
</li>
<li class="side-nav-title">Support</li>
<li>
<nobr>
<i class="far fa-fw fa-envelope mr-2"></i><a href="mailto:dev@nlpcraft.apache.org">Dev List</a>
</nobr>
</li>
<li>
<nobr>
<i class="fab fa-fw fa-stack-overflow mr-2"></i><a target="so" href="https://stackoverflow.com/questions/ask">Stack Overflow</a>
</nobr>
</li>
<li>
<nobr>
<i class="fab fa-fw fa-github mr-2"></i><a target="github" href="https://github.com/apache/incubator-nlpcraft">GitHub</a>
</nobr>
</li>
</ul>
</div>