Skip to main content

Kiri Search

Project description

Kiri Search

Kiri Search is an unmaintained fork of Kiri NLE with added search functionality.

Getting started

Installation

Install Kiri via PyPi:

pip install kirisearch

Basic usage

from kiri_search import Kiri, Document

# Unprocessed documents
documents = [
    Document("Look at examples to see awesome use cases!"),
    Document("Check out the docs to see what's possible!")
]

# Use our inference API
kiri = Kiri(api_key="abc")
# Or run locally
kiri = Kiri(local=True)

# Process documents
kiri.upload(documents)

# Start building!
search_results = kiri.search("What are some cool apps that have been built?")

print(search_results.to_json())

# Prints
{
   "max_score": 0.3804888461635889,
   "total_results": 2,
   "results": [
      {
         "document": {
            "id":"LzhtWcpV2eoMk8GJwaw7na",
            "content":"Look at examples to see awesome use cases!"
         },
         "score": 0.3804888461635889,
         "preview":" Look at examples to see awesome use cases!"
      },
      {
         "document": {
            "id":"bcLb8xUK585Zm6rZrwj89A",
            "content":"Check out the docs to see what's possible!"
         },
         "score": 0.1742559312454076,
         "preview":" Check out the docs to see what's possible!"
      }
   ]
}

Why Kiri?

  1. No experience needed

    • Entrance to practical AI should be simple
    • Get state-of-the-art performance in your task without being an expert
  2. There is an overwhelming amount of models

    • We implement the best ones for various use cases
    • A few general models can accomplish more with less optimisation
  3. Deploying models cost effectively is hard work

    • If our models suit your use case, no deployment is needed
    • Our API scales, is always available, and you only pay for usage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kirisearch-0.0.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

kirisearch-0.0.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file kirisearch-0.0.1.tar.gz.

File metadata

  • Download URL: kirisearch-0.0.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for kirisearch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33d8da26f49c5244e62376d22d4b9167a78d71cab6ad0507fffe8b483436c362
MD5 af9e6fcac30afe5f70493c1653d227eb
BLAKE2b-256 89f899f78e82e41e402acc1f4635d88223066147a0661051f38f2a28d595d4e3

See more details on using hashes here.

File details

Details for the file kirisearch-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kirisearch-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for kirisearch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebce2f58e0d09d7fc92b0e655cf772317f6ac50525279dd107564ab4ec3e9c83
MD5 96af4f10e1ebebe124da2a3358334f87
BLAKE2b-256 50c081a1fe4421c4d900724486d035ca6514c65956e9eacd0f6b45d5716aeec7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page