Khajaameen455@
d20f402d89
Update main.py
...
If load_dotenv() is not called before importing modules that rely on environment variables defined in the .env file, those modules might not be able to access the environment variables correctly. This could lead to errors or unexpected behavior in your code.
2024-02-23 14:31:15 +05:30
Abi Raja
c0e084aa86
update evals
2024-02-21 09:30:42 -05:00
Abi Raja
34c1f9a959
update openAI key missing - error dialog message
2024-01-10 17:16:00 -08:00
Abi Raja
8a431c0d02
add an imported code prompt
2024-01-09 08:29:16 -08:00
Abi Raja
b8bce72d23
organize evals code into the evals dir
2024-01-08 17:38:34 -08:00
Abi Raja
7073879e6e
include type checker
2024-01-08 17:04:59 -08:00
Abi Raja
1aeb8c4e14
Type the backend properly to avoid code duplication and ensure type errors when a stack configuration is not properly added
2024-01-08 15:30:53 -08:00
Abi Raja
15dc74a328
improve type checking for stack on backend
2024-01-08 14:55:41 -08:00
Abi Raja
adda6852f3
update gitignore
2024-01-08 14:35:26 -08:00
Abi Raja
0080a5e2c4
better organization of prompts directory
2024-01-08 14:25:00 -08:00
Abi Raja
fa7ffdfaeb
add a vue tailwind generation option
2024-01-08 13:50:33 -08:00
Abi Raja
2ab95eb2c0
upgrade uvicorn dependency and add a backend start python script
2024-01-08 09:35:02 -08:00
Abi Raja
9b728d034b
add experimental support for SVG
2023-12-14 10:18:41 -05:00
Abi Raja
f1a9859384
fix bug with history not being updated if image generation fails
2023-12-14 08:29:04 -05:00
Abi Raja
d23cec9bc0
add a front-end for scoring eval results
2023-12-13 16:38:26 -05:00
Abi Raja
896ac66ac5
add a simple eval script to batch run inferences
2023-12-13 12:50:34 -05:00
Abi Raja
dd65a6e1e4
add tests for the new prompts
2023-12-10 15:49:21 -05:00
Abi Raja
356dd428b8
re-org files and improve tests
2023-12-10 10:50:02 -05:00
Abi Raja
dcb95431ea
update prompts for all stack combos of imported code
2023-12-10 10:34:03 -05:00
Abi Raja
e8e3d4cb6f
make user set the stack when importing code
2023-12-10 10:22:05 -05:00
Abi Raja
52fee9e49b
initial implementation of importing from code
2023-12-09 21:00:18 -05:00
Abi Raja
435402bc85
split main.py into appropriate routes files
2023-12-09 15:46:42 -05:00
Abi Raja
6a28ee2d3c
strictly type python backend
2023-12-09 15:34:16 -05:00
Abi Raja
0301f24fd8
fix up pretty printing
2023-12-07 11:26:48 -05:00
Abi Raja
f0101036a0
return failure reason to front-end
2023-12-06 10:50:22 -05:00
Abi Raja
70094ea765
handle openai.RateLimitError
2023-12-04 16:43:31 -05:00
Abi Raja
e3240511ab
handle model not found error better
2023-12-04 16:37:49 -05:00
Abi Raja
26447ce15d
handle openai.AuthenticationError
2023-12-04 16:32:17 -05:00
Abi Raja
96d45cf1c2
add default backend home route so people know it's running correctly
2023-12-03 19:58:22 -05:00
Abi Raja
a98b9d83f0
close OpenAI client
2023-12-03 14:45:39 -05:00
Abi Raja
0cc2c78f55
move websocket close to fix memory leak
2023-12-03 14:04:40 -05:00
Abi Raja
3e34c40e73
update libraries
2023-12-03 14:03:38 -05:00
Abi Raja
f39bd285bd
remove comment
2023-12-03 13:08:32 -05:00
Abi Raja
dc28bd5e6b
fix and add unit test
2023-11-30 16:07:08 -05:00
Abi Raja
414d83c458
catch prompt assembly error
2023-11-30 16:04:03 -05:00
Abi Raja
f51e70d701
redo how output settings is configured
2023-11-30 15:58:01 -05:00
Abi Raja
45a64326f6
Merge branch 'main' into pr/122
2023-11-30 13:56:38 -05:00
Abi Raja
7a76621e80
Disable user-specified OpenAI Base URL in prod
2023-11-30 12:07:35 -05:00
Abi Raja
aae7c0e468
fix type annotation
2023-11-30 11:56:51 -05:00
Abi Raja
572dedbd01
fix typo
2023-11-30 11:51:37 -05:00
Abi Raja
fa6f57914b
fix issue with openAiBaseURL not being set
2023-11-30 11:49:59 -05:00
Abi Raja
339f07373a
Merge branch 'main' into pr/62
2023-11-30 11:36:39 -05:00
Abi Raja
13888db9b5
update URL to prod URL
2023-11-29 14:28:36 -05:00
Abi Raja
b904710cfc
add secret to access the backend
2023-11-29 14:00:45 -05:00
Abi Raja
7889e0c3d5
call backend to validate the access token
2023-11-29 12:00:33 -05:00
Abi Raja
8a242103fc
use platform api key if the access code is correct
2023-11-29 11:38:53 -05:00
Abi Raja
b46d08b416
read access code from params
2023-11-29 11:35:04 -05:00
dialmedu
9bee5c79b8
Add prompt ionic support
2023-11-28 23:50:04 -05:00
Abi Raja
8c08d992fd
print system prompt info in the backend logs
2023-11-28 14:33:03 -05:00
Abi Raja
dfe8ae4164
add support for React
2023-11-28 14:05:59 -05:00