Open deadbits opened 1 year ago
Support:
Need to finish this. The LLM class works and will load the prompt from YAML, add the text for analysis, and call the configured LLM... but I'm not very confident about getting JSON back from the LLM every time.
The prompt I have in data/prompts seems to work well enough but I'll have to check out how other tools do it to be sure. I don't think I can use Guidance with LiteLLM since Guidance wants to be the proxy (I think..)
This prompt works well in testing thus far. I'll try to adapt jsonformer or something similar to ensure the LLM output is always structured correctly.