Skip to main content

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

Metadata

Release files for kirisearch 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kirisearch 0.0.1
File Size Uploaded
kirisearch-0.0.1.tar.gz 17.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kirisearch 0.0.1
File Interpreter ABI Platform
kirisearch-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 47.5 kB

Release files / kirisearch-0.0.1.tar.gz

Download URL kirisearch-0.0.1.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33d8da26f49c5244e62376d22d4b9167a78d71cab6ad0507fffe8b483436c362
BLAKE2b-256 checksum
How to use checksums
89f899f78e82e41e402acc1f4635d88223066147a0661051f38f2a28d595d4e3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / kirisearch-0.0.1-py3-none-any.whl

Download URL kirisearch-0.0.1-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebce2f58e0d09d7fc92b0e655cf772317f6ac50525279dd107564ab4ec3e9c83
BLAKE2b-256 checksum
How to use checksums
50c081a1fe4421c4d900724486d035ca6514c65956e9eacd0f6b45d5716aeec7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page