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.11.tar.gz (50.9 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.11-py3-none-any.whl (84.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shraga_common-0.1.11.tar.gz
  • Upload date:
  • Size: 50.9 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.11.tar.gz
Algorithm Hash digest
SHA256 da0725c95e81b0c165ee4c4f9efd662a57959730eec3fa328d363a7df02781e4
MD5 c4383f739e689b470c2ff7ac028b89b6
BLAKE2b-256 6d400a9b12477dd9b8dc295be3a4722220c1a59e3c65c8b4982e65d0f689e1d7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: shraga_common-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 84.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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a659235bac0a50db4ce68a0a9afebd60f711e34334e1ac9e38355cd45f089582
MD5 b48f43822cc5ee239b48f4921f164377
BLAKE2b-256 05f65dfa71a04af430b7093110d235e8bf55c0e52f45fdaec0f07b749172b02d

See more details on using hashes here.

Provenance

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