Skip to main content

Common infrastructure for Shraga AI

Project description

Shraga

The backend is based on FastAPI and frontend is based on React.

Backend setup:

Requirements:

  1. Python3.11
  2. Pip
  3. Poetry

Install poetry and add it to $PATH run

pipx install poetry

Once poetry is installed, install dependencies:

poetry install --no-root
poetry run pre-commit install

To activate the virtualenv run the following:

poetry shell
which python

Running the app

To run the app use:

SHRAGA_FLOWS_PATH=flows CONFIG_PATH=config.demo.yaml uvicorn main:app --reload

cd frontend
pnpm run dev

demo flow

Run demo flow without an LLM \ Elasticsearch \ Opensearch:

  1. use config.demo.yaml for settings
  2. To run the backend use:
SHRAGA_FLOWS_PATH=flows CONFIG_PATH=config.demo.yaml uvicorn main:app --reload

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

shraga_common-0.2.3.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

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

shraga_common-0.2.3-py3-none-any.whl (85.0 kB view details)

Uploaded Python 3

File details

Details for the file shraga_common-0.2.3.tar.gz.

File metadata

  • Download URL: shraga_common-0.2.3.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shraga_common-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8146932d6548bed92788a5fbb7fc49d1212649fb43a691d4a250135622f48c7f
MD5 6a54c45df4bcdaefa0fdb21134cd8fc8
BLAKE2b-256 1b97a0d0046c3a61eca23d52cd963291695219bdf21e5da9e6a6a767b9b2cc4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for shraga_common-0.2.3.tar.gz:

Publisher: release.yaml on ShragaAI/shraga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shraga_common-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: shraga_common-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 85.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shraga_common-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3fda00ec0d36ac98a8925ecbfc42533136fbeec208fd424f3ffd02a2f1434fb2
MD5 693635d7f4191559f1454ecadf1e41bf
BLAKE2b-256 97dd36b61cdbe00641b175a64320c4ef3a3715b31c6920c89a3b47acbe75541f

See more details on using hashes here.

Provenance

The following attestation bundles were made for shraga_common-0.2.3-py3-none-any.whl:

Publisher: release.yaml on ShragaAI/shraga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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