Git Product home page Git Product logo

examples's Introduction

image

Examples for Jina

Table of Contents

These examples showcase Jina in action and provide sample code for you to work from.

We suggest you read the following to get an overview of what Jina is and how it works:

๐Ÿฃ Simple Examples

๐Ÿ“„

Brand new to neural search? See a simple text-search example to understand how Jina works

๐Ÿ“„

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

๐Ÿ“„

A simple example to show how to find similar audio clips using Jina

๐Ÿš€ Advanced Examples

๐Ÿ“„

Support both querying and indexing simultaneously in our Wikipedia Search Example

๐Ÿ–ผ๏ธ๐Ÿ“„

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

Community Examples

Want to add your own example? Please check our guidelines!

๐Ÿ–ผ๏ธ๐Ÿ“„

Search memes by caption or similar image.

๐Ÿ“„

Use Transformers to search through a rich app store dataset with a responsive front-end

๐Ÿ“„

Generate answers based on star wars descriptions from wookieepedia.

Legacy examples

๐Ÿ“„

Opinionated QA passage retrieval with BERT-based reranker

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.

Testing Tips

  • For reference, check out the tests folder from any of the examples in this repo.
  • 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) 2021 Jina AI Limited. All rights reserved.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.