v0.3 Chain Editor, Graph model update, OpenAI Functions #76
kreneskyp
announced in
Announcements
Replies: 1 comment
-
Really nice work! I've been playing with it and I like it. I do have a question about how to add search (Google/DuckDuckGo) however. Specifically with the example of the prebuilt Coder Chain V2. How can I implement a Web search tool and/or Web request tool into the chain in order to get up-to-date information on 3rd party libraries/packages used in the code? Eg. I'd like to feed it links to Documentation for various PyPi Python packages so that it has the correct context when coding my desired project. I think that would make it a game changer, I just can't quite work out how to do it. Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Chain graph model and extended Langchain support
Django models for the chain graph were refined to support the broader set of LangChain components. v0.2 introduced support for memory components but the model was not flexible enough to easily support the graph of components. The refactored models enable a configurable graph of components and can more easily be extended to support the entire LangChain component set.
LangChain components may now be imported into
NodeType
model instances. The definitions include properties required to load the LangChain component and to support the ChainEditor UX.This release adds support for these LangChain components:
Chain Editor UX
A ReactFlow based graphical chain editor is now available. Components may be added to
the chain graph and connected to form the logic for an agent.
Chains
may then be assignedto an
Agent
and used within the chat interface.The UI supports a dynamically defined configuration of
NodeType
components. The editorprovides dynamically generated forms from
NodeType
definitions and allows for customdisplay components.
OpenAI Functions
OpenAI functions are now supported by
LLMChain
and subclasses.tool
andFunctionSchema
may be connected to thefunctions
property. Ix will automatically load both object types for use as OpenAI functions.The
@ix
moderator and@code
agents are updated to use functions.PG Vector
PGVector VectorFields may now be added to any django model. This will eventually power
similarity searches for components, chains, agents, and chat artifacts.
Misc
Chains:
-
from_config
methods are deprecated in favor of new loaders.-
SaveArtifact
andMapSubchain
have improved error messages.-
SaveArtifact
storage_id/identifier logic improved-
ArtifactMemory
now searchespk
for matchingartifact_keys
UX:
- markdown urls and inline code references are now highlighted in chat messages
- UI better handles overflow and scrolling
- Chain editor
NodeSelector
now expands for long names- Fixed double border around
ChatMessageAvatar
in light modeBuild:
-
dev_setup
now imports NodeTypes withimport_langchain
command-
node_types_fixture
target added to generatenode_types.json
for testsThis discussion was created from the release v0.3 Chain Editor, Graph model update, OpenAI Functions.
Beta Was this translation helpful? Give feedback.
All reactions