v0.16.0
版本发布时间: 2024-01-23 00:54:33
kreneskyp/ix最新发布版本:v0.19.1(2024-02-09 01:24:17)
This release focuses on a new data module that includes an API and storage for JSON Schemas & OpenAPI Specs. Both include components to utilize them in flows.
JSON Schemas #387 #299 #391 #393 #398 #399
https://github.com/kreneskyp/ix/assets/68635/a3aefe0c-f522-49fa-b869-9c0d69aec21c
JSON Schemas may now be created through the UI. Schema
objects are usable within the flow as an input or as a function
with LLMs that support function calling.
Components:
-
SaveSchema
- generate new schemas with theSaveSchema
component -
LoadSchema
- loads schemas from the registry.
JSON Form inputs:
-
JSONSchemaSelect
OpenAPI Specs #387 #391 #394 #398 #408
https://github.com/kreneskyp/ix/assets/68635/2fbdf113-ea2f-459e-9601-993ed306a63d
OpenAPI specs may now be imported using a URL. Use them in flows as tools or as regular chains to interact with remote APIs.
The editor provides a viewer for the spec's endpoints and schemas. Action specs may be dragged onto a flow to create a preconfigured OpenAPI Request
.
Components:
-
OpenAPI Request
- load a schema and run a request.
JSON Form inputs:
-
OpenAPISchemaSelect
-
SchemaActionSelect
-
SchemaServer
Drag-n-drop objects #400 #405 #409
Many objects may now be dropped into the graph as preconfigured nodes. This is built on a new DraggableNode
wrapper that simplified mapping types to nodes.
- JSON schemas
- OpenAPI specs & actions
- Chains
Fixes for tabs and new chains #391 #395 #397
There were still quite a few gremlins in the new state management for tabs. This caused various issues with nodes not appearing when saved, values reverting after saving, crashes, etc. Many bugs were fixed during the testing of this version.
Misc
- Most edits within the editor now show a toast message on success #396
- Generalized
react-select
components and hooks for easier re-use #388 - LangChain 0.1.0 #390
- Add
JSONSchemaDisplay
for rendering specs #401 - Nodes now appear mostly centered on the header when dropped #403
- API endpoints have simplified
operation_id
for better integration withOpenAPI Request
nodes #406 - menu style now better configured #407