/jinaai-examples

Examples and demos built with Jina that help you onboarding

Primary LanguageHTMLApache License 2.0Apache-2.0

Examples for Jina

Jina Jina Jina Docs Python 3.7 3.8 Docker

Table of Contents

Start Here

First a little light background reading, and then let's jump in and build our first app!

What is Neural search?

AI-powered search with less effort, more flexibility

Jina 101 Concept Illustration Book, Copyright by Jina AI Limited      English日本語françaisDeutschРусский язык中文
Tutorials Level
Brand new to neural search? Not for long! Use cookiecutter to search through Star Trek scripts using Jina                                                                                                                                              

🐣

Search Text

Tutorials Level
Upgrade from plain search to sentence search and practice your Flows and Pods by searching South Park scripts                                                                                                                                              

🐣

Language-agnostic search on WMTData

🐣

Get a better understanding of chunks by searching a lyrics database. Now with shiny front-end!

🐣

Search Images

Tutorials Level
Build an image search system and define your own executors and run them in Docker                                                                                                                                              

🐣

Use SOTA visual representation for searching Pokémon!

🚀

Detect, index and query similar objects

🚀

Search Audio

Tutorials Level
A demo of neural search for audio data based Vggish model.                                                                                                                                              

🐣

🐣

Search Video

Tutorials Level
Use prefetching and sharding to improve the performance of your index and query flow when searching animated GIFs.                                                                                                                                              

🐣

Cross Modal Search

Tutorials Level
Use one modality (text) to search another (images)                                                                                                                                              

🕊

Multi Modal Search

Tutorials Level
Use more than one modality (image+text) to search images                                                                                                                                              

🕊

Miscellaneous

Tutorials Level
Create separate indexes and queries for different clothing in Fashion-MNIST                                                                                                                                              

🐣

Search handwriting examples using Mindspore

🚀

Improve Performance and Scalability

Tutorials Level
Increase performance by using prefetching and sharding                                                                                                                                              

🕊

Run a Flow remotely and use a local client to connect to it

🕊

Run Jina on remote instances and distribute your workflow

🕊

Learn how Jina solves complex dependencies easily with Docker container

🕊

Build a vector search engine that finds the closest vector in the database to a query.

🚀

Extend and Share Jina

Tutorials Level
Implement your own ideas into Jina's plugin                                                                                                                                              

🕊

Use Jina Hub and share your extensions with engineers around the globe

🚀

Adding Tests for Examples

You are highly encouraged to add a test for your example so that we will be alerted if it breaks in the future:

  1. Put your test data in the tests folder. The test data can be a few text sentences, images or audio samples
  2. Create test_[your_example].py in the tests folder. Add your test cases to the tests file with meaningful asserts depending on example input and output
  3. Run the test locally to confirm before pushing with pytest
  4. Add your example folder name to the path variable in matrix of .github/worflows/ci.yml. This will trigger your example test on creating a pull request.

Tips

  • For reference, check out the tests folder from South Park example if your data is about text and object search example for images.
  • Try using the original example function by importing them to the test. Avoid any modifications to original Flow or logic.
  • Use the pytest fixture tmpdir for temporary directory

Community

  • Slack channel - a communication platform for developers to discuss Jina
  • LinkedIn - get to know Jina AI as a company and find job opportunities
  • Twitter Follow - follow us and interact with us using hashtag #JinaSearch
  • Company - know more about our company, we are fully committed to open-source!

License

Copyright (c) 2020 Jina AI Limited. All rights reserved.

Jina is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.