Open-Assistant
Open-Assistant copied to clipboard
Initial plugins code cleanup
The primary contributions of this PR are:
- Introduce
PromptedLLM
class to manage the repeated process of preparing prompt with memory and template, calling LLM, and postprocessing output - Separating out functions in
openapi_parser
- General improvements to clarity/readability
Nice job! LGTM, But I would love to manually test this branch a bit more before merging if possible?
Nice job! LGTM, But I would love to manually test this branch a bit more before merging if possible?
Sure, no problem. Let me know when you're happy for it to be merged
@draganjovanovich the last commit I have pushed to this branch should address #3146. Please let me know if you think there is any problem with this solution.
@draganjovanovich the last commit I have pushed to this branch should address #3146. Please let me know if you think there is any problem with this solution.
yes, yes. I had that in my local repo, but left it uncommitted. Thanks.
I tested it on a local setup, and everything seems fine.
I have some more improvements for plugins that would like to open PR, but It would be best if that could be merged before that?