Skip to main content

client tool for raggify, a llama index based library for building multimodal RAG systems

Project description

Raggify Client

Image

Raggify Client is a lightweight library that extracts only the REST API client portion from Raggify, a comprehensive library that includes server modules.

For details on the Raggify library, please refer to this page.

🚀 How to Install

To install, run:

pip install raggify-client

raggify-client requires a raggify server to be running on the backend. You can specify server host and port in /etc/raggify-client/config.yaml.

host: localhost
port: 8000
topk: 20
log_level: DEBUG

The default config.yaml is generated when raggify-client is run for the first time.

raggify-cilent --help

📚 Use As Library

Assuming the Raggify server is already running, the following program can be executed, for example:

import json

from raggify_client import RestAPIClient

client = RestAPIClient(host="localhost", port=8000)

print(json.dumps(client.status(), indent=2))

client.ingest_url("http://some.site.com")

⌨️ Use As CLI

Assuming the Raggify server is already running, you can execute commands such as the following:

Image

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

raggify_client-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raggify_client-0.1.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file raggify_client-0.1.1.tar.gz.

File metadata

  • Download URL: raggify_client-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for raggify_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c7659ecf3659065c3b9a5c2db5c2950dd76b728e9da12cf4ed0069d2fd473f81
MD5 f22479510566daaa7762bfc7bac73916
BLAKE2b-256 dbf96df72b92f5ff8fed45b4152358ce03dec87fb5e707b07341e4f5fd842d58

See more details on using hashes here.

File details

Details for the file raggify_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for raggify_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba6ce39a7de75467e75a6743375e6b6dbfaae47e024ea62239d5689f63e5af04
MD5 c2f36d47e937eebee04b3b20f76bbf5e
BLAKE2b-256 771da8f79c5e2280fe12b9cda674159ba2bffc4e83dc3f57ad772e41593f99be

See more details on using hashes here.

Supported by

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