Sajith Ariyarathna
Sajith Ariyarathna
Fixes #80 ### Usage ```py from h2ogpt_client import Client client = Client("http://0.0.0.0:7860") # text completion response = client.text_completion.create("Hello world") response = await client.text_completion.create_async("Hello world") ```
### This PR, - Unifies the text completion and chat completion APIs so that they both have a similar structure. ```py # text completion API text_completion = client.text_completion.create() response =...
This PR, - Adds `test_parameters_order` test which asserts the API parameter order used in the Client matches with the order defined in h2oGPT. - `eval_func_param_names`, `gen_hyper`, `no_default_param_names`, and `eval_func_param_names_defaults` were...
**Description:** SQL scripts at [1] are not being copied to the `/wso2/dashboard/dbscripts/` directory. **Affected Product Version:** SP-4.3.0
**Description:** Currently (SP-4.3.0) dashboard only support for PDF report generation. Please add support for more types such as **CSV** & Excel. Refer: https://wso2.markmail.org/thread/2wwaexul5jslcwo6 **Affected Product Version:** SP-4.3.0
**Description:** Following internals of the [Widget](https://github.com/wso2/carbon-dashboards/blob/v4.0.15/base-widget/src/Widget.jsx#L27) class have been exposed in its sub-classes. - [`this.props.glContainer.width`](https://github.com/wso2/carbon-dashboards/blob/v4.0.15/samples/widgets/CpuUsage/src/CpuUsage.jsx#L103) - [`this.props.glContainer.height`](https://github.com/wso2/carbon-dashboards/blob/v4.0.15/samples/widgets/CpuUsage/src/CpuUsage.jsx#L103) - [`this.props.glContainer.on(eventName, callback, context)`](https://github.com/wso2/carbon-dashboards/blob/v4.0.15/samples/widgets/CpuUsage/src/CpuUsage.jsx#L38) Also, [`global.dashboard.registerWidget(widgetName, widgetClass)`](https://github.com/wso2/carbon-dashboards/blob/v4.0.15/samples/widgets/CpuUsage/src/CpuUsage.jsx#L107) needs to be encapsulated too. **Affected...
### Describe the bug When computing an `int` power/exponent of an `int` (e.g. `10 ** 1`) Cython behaves differently if the calculation is done inside a list comprehension. Normally Cython...
**Description:** There should be an API to retrieve messages for a given locale. - Messages should be read from `/languages/.json`. - API - `GET` `//apis/languages/` will return all available locales...