Common infrastructure for Shraga AI
Project description
Shraga
The backend is based on FastAPI and frontend is based on React.
Backend setup:
Requirements:
- Python3.11
- Pip
- 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:
- use config.demo.yaml for settings
- To run the backend use:
SHRAGA_FLOWS_PATH=flows CONFIG_PATH=config.demo.yaml uvicorn main:app --reload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shraga_common-0.2.0.tar.gz.
File metadata
- Download URL: shraga_common-0.2.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b7f28458d0167cdedecc95b943ac079cacf1fff77bec24ef0252da260c0b9b
|
|
| MD5 |
7ae65387e33f2c81c75f898297f744de
|
|
| BLAKE2b-256 |
dda70c2ac5a25de5c02efc9740a39524082b9a77459aadae0ed287aa15bb9f4b
|
Provenance
The following attestation bundles were made for shraga_common-0.2.0.tar.gz:
Publisher:
release.yaml on ShragaAI/shraga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shraga_common-0.2.0.tar.gz -
Subject digest:
a0b7f28458d0167cdedecc95b943ac079cacf1fff77bec24ef0252da260c0b9b - Sigstore transparency entry: 219760189
- Sigstore integration time:
-
Permalink:
ShragaAI/shraga@657f8bda20002ab7758d5a6a0577523c862f23e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ShragaAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@657f8bda20002ab7758d5a6a0577523c862f23e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file shraga_common-0.2.0-py3-none-any.whl.
File metadata
- Download URL: shraga_common-0.2.0-py3-none-any.whl
- Upload date:
- Size: 84.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0756b5c6b941751fc6b1495c76748e3be113064f9ab85985e5b2b3ebb6a1723
|
|
| MD5 |
248513d939d70d0ac1b9d56362d7ffb6
|
|
| BLAKE2b-256 |
b0a868bb6c982afc2d16e494507e2d2f804bb83ca65fb60b6160891033e04c64
|
Provenance
The following attestation bundles were made for shraga_common-0.2.0-py3-none-any.whl:
Publisher:
release.yaml on ShragaAI/shraga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shraga_common-0.2.0-py3-none-any.whl -
Subject digest:
f0756b5c6b941751fc6b1495c76748e3be113064f9ab85985e5b2b3ebb6a1723 - Sigstore transparency entry: 219760192
- Sigstore integration time:
-
Permalink:
ShragaAI/shraga@657f8bda20002ab7758d5a6a0577523c862f23e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ShragaAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@657f8bda20002ab7758d5a6a0577523c862f23e5 -
Trigger Event:
push
-
Statement type: