A W.I.P. implementation for LLM for clex, aimed to generate clex from Human readable Input Format and Constraints.
Create a .env
containing the gemini api key. Make sure you have rye installed on your local system.
make init
make run
or
rye run dev
Go to {base url}/docs
for help!
Example usage
curl -X 'POST' \
'http://0.0.0.0:8000/api/llm/generate' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"input_format": "string",
"constraints": "string"
}'
https://arxiv.org/abs/2305.19234
https://github.com/berlino/grammar-prompting
https://github.com/r2d4/parserllm
https://matt-rickard.com/context-free-grammar-parsing-with-llms
https://matt-rickard.com/rellm