Skip to main content

This repository includes rag_assistant

Project description

Swarmauri Rag Assistant

Overview

The Swarmauri Rag Assistant is your go-to tool for managing different configurations and settings for your application. With a simple command-line interface, you can customize and deploy the Assistant using various arguments according to your needs.

Installation

Getting started with Swarmauri’s RAG Assistant is straightforward. You can install it via pip by running the following command:

pip install rag_assistant==0.2.0 --user

Usage

Below is a comprehensive explanation of each argument you can provide to the Assistant and how to use them effectively:

Required Arguments

Generating config files

  • For json config files
rag_assistant generate -o config.json
  • For yaml config files
rag_assistant generate -o config.yaml

Launching app

  • To launch the app:
rag_assistant launch --api_key $OPENAI_API_KEY --provider-llm openai
  • N/B: to see the currently supported LLMs do: rag_assistant launch --help under --provider-llm

For more help on rag_assistant:

rag_assistant --help
Example results
Swarmauri Developer Assistant

positional arguments:
  {generate,launch}
    generate         Generate a configuration file
    launch           Launch the Gradio UI application

options:
  -h, --help         show this help message and exit

For more help on rag_assistant generate

rag_assistant generate --help
Example results
options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output file path

For more help on rag_assistant launch

rag_assistant launch --help
Example result
options:
  -h, --help            show this help message and exit
  -api_key API_KEY, --api_key API_KEY
                        Your API key
  -provider_llm PROVIDER_LLM, --provider_llm PROVIDER_LLM
                        Your provider LLM: openai | groq | mistral | gemini | anthropic
  -provider_model PROVIDER_MODEL, --provider_model PROVIDER_MODEL
                        Your provider model
  -config_file CONFIG_FILE, --config_file CONFIG_FILE
                        Path to config file

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

rag_assistant-0.2.5.dev1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

rag_assistant-0.2.5.dev1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file rag_assistant-0.2.5.dev1.tar.gz.

File metadata

  • Download URL: rag_assistant-0.2.5.dev1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for rag_assistant-0.2.5.dev1.tar.gz
Algorithm Hash digest
SHA256 22fa1ebc4d8dd03744afcf296530fdeeae3da2a4833c67e7aa3f0302755d011e
MD5 c8c89cfee60c4591c440eba821295db9
BLAKE2b-256 841b6b773bae2c505892d5d13643486a55b4d7dd1e2ffa32235b318dd2acf892

See more details on using hashes here.

File details

Details for the file rag_assistant-0.2.5.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for rag_assistant-0.2.5.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c5dc569941bedec5fd1b124c28e5ceb954c1019ba74cf99a51b9195881ce64b
MD5 511de52d07c3a0b703b1ad2d9dc43ad1
BLAKE2b-256 06e15e07ca2981884a757820e9d8040978c4d526177ca412a5afb37ef1073eab

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