This PR adds a "Usage" section to the README describing the main functions of the library:
parse_llm_response() - Parses an LLM response for API calls. Returns a dictionary with details of the API call.
call_api() - Calls an API operation in an active plugin. Requires the plugin name, operation ID and parameters.
apply_plugins() - A decorator to apply active plugins to an LLM function. The LLM function should take a string (the user input) and return a string (the response).
The new section in the README provides code examples and explanations for using each of these functions.
This PR adds a "Usage" section to the README describing the main functions of the library:
parse_llm_response()
- Parses an LLM response for API calls. Returns a dictionary with details of the API call.call_api()
- Calls an API operation in an active plugin. Requires the plugin name, operation ID and parameters.apply_plugins()
- A decorator to apply active plugins to an LLM function. The LLM function should take a string (the user input) and return a string (the response).The new section in the README provides code examples and explanations for using each of these functions.
Fixes #127.