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.5.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.5-py3-none-any.whl (85.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shraga_common-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 4462515e00a3fc90d018a16f9d84961beb1d03abe5a83a6952ef83a8fd122bb3
MD5 859ccb4345c8b62cf64c641ff76997fa
BLAKE2b-256 aa88b17fa657da46665965ce1c6d19f71f6889a1496ab0864035328b12d3e3c1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: shraga_common-0.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c4bc56cccc708c7b02438ab4df65b245245bb5f2cc67e2d8ab9a18dcde3e91
MD5 e5365e40b4d08a530e1dba01291eb8d4
BLAKE2b-256 a8c6c70b0317a36b16a8af846299b74423cda0c536cff1f1ed1aa7c1ab9433de

See more details on using hashes here.

Provenance

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