screenshot-to-code/backend
Khajaameen455@ 8d6dd74ec5
Update core.py
I've added a docstring to the generate_code_core function for documentation purposes. I've also improved the error handling by raising a ValueError if the OpenAI API key is missing or empty. Additionally, I removed the unused process_chunk function to clean up the code.
2024-02-23 14:37:04 +05:30
..
evals Update core.py 2024-02-23 14:37:04 +05:30
prompts add an imported code prompt 2024-01-09 08:29:16 -08:00
routes update openAI key missing - error dialog message 2024-01-10 17:16:00 -08:00
.gitignore update gitignore 2024-01-08 14:35:26 -08:00
access_token.py return failure reason to front-end 2023-12-06 10:50:22 -05:00
build.sh add build script for render backend deployment 2023-11-16 19:03:05 -05:00
config.py split main.py into appropriate routes files 2023-12-09 15:46:42 -05:00
Dockerfile simplify dockerfile and update docker-compose to use 7001 2023-11-19 21:39:10 -05:00
image_generation.py strictly type python backend 2023-12-09 15:34:16 -05:00
llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
main.py add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
mock_llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
poetry.lock include type checker 2024-01-08 17:04:59 -08:00
pyproject.toml include type checker 2024-01-08 17:04:59 -08:00
pyrightconfig.json include type checker 2024-01-08 17:04:59 -08:00
README.md include type checker 2024-01-08 17:04:59 -08:00
run_evals.py update evals 2024-02-21 09:30:42 -05:00
start.py upgrade uvicorn dependency and add a backend start python script 2024-01-08 09:35:02 -08:00
utils.py strictly type python backend 2023-12-09 15:34:16 -05:00

Run the type checker

poetry run pyright

Run tests

poetry run pytest