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.1.8.tar.gz (50.7 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.1.8-py3-none-any.whl (83.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shraga_common-0.1.8.tar.gz
  • Upload date:
  • Size: 50.7 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.1.8.tar.gz
Algorithm Hash digest
SHA256 13b4faf928a645769073914dc09490c6a0066b742d83f81cb076f902a16589c5
MD5 b8067ccd7113ba59b2b709af49815748
BLAKE2b-256 c6936245c9be6f1faa3f3bb8a67b6f74b44f7fcea40a57245fb6ba2862dbe196

See more details on using hashes here.

Provenance

The following attestation bundles were made for shraga_common-0.1.8.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.1.8-py3-none-any.whl.

File metadata

  • Download URL: shraga_common-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 83.4 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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6c3dfcead3420f59862fd7c9cbcdd8d87dd077f2d04877ccf0c26dddb81e998f
MD5 84e12e01941ad7ea6b4aa5938dae3a36
BLAKE2b-256 9f108264f5289a9e4b41c847f780f097b06aec6daa5ff38b992c0fe69eff16bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for shraga_common-0.1.8-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