eino-examples

module
v0.0.0-...-f13f4f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: Apache-2.0

README

Eino Examples

English | 中文

Overview

This repository contains examples and demonstrations for using the Eino framework. It provides practical examples to help developers better understand and utilize Eino's features.

Repository Structure

  • components/: Examples demonstrating the usage of various components from cloudwego/eino-ext

    • Includes implementations and usage patterns for different component types
    • Shows how to use and customize Eino's extension components
  • compose/: Examples showcasing Eino's orchestration capabilities

    • Demonstrates how to use Graph and Chain orchestration
    • Provides patterns for combining different components
    • Shows various orchestration scenarios and best practices
  • flow/: Examples illustrating the usage of Eino's flow module

    • Contains demonstrations of flow-based programming patterns
    • Shows how to implement and manage data flows
    • Includes examples of stream processing
  • quickstart/: Quick start examples from the user documentation

    • Basic examples to help new users get started
    • Contains the same demos as shown in the official documentation

Security

If you discover a potential security issue in this project, or think you may have discovered a security issue, we ask that you notify Bytedance Security via our security center or vulnerability reporting email.

Please do not create a public GitHub issue.

License

This project is licensed under the Apache-2.0 License.

Directories

Path Synopsis
adk
helloworld command
intro/chatmodel command
intro/session command
intro/transfer command
multiagent/deep command
components
model/httptransport
Package httptransport provides a configurable cURL-style logging RoundTripper for HTTP-based ChatModel clients.
Package httptransport provides a configurable cURL-style logging RoundTripper for HTTP-based ChatModel clients.
tool/jsonschema command
tool/middlewares/jsonfix
Package jsonfix provides a ToolMiddleware for Eino's ToolsNode that repairs malformed JSON arguments produced by LLMs before tool execution.
Package jsonfix provides a ToolMiddleware for Eino's ToolsNode that repairs malformed JSON arguments produced by LLMs before tool execution.
tool/middlewares/jsonfix/example command
This example shows how to configure the jsonfix middleware on a ToolsNode to repair invalid JSON arguments before invoking a local tool.
This example shows how to configure the jsonfix middleware on a ToolsNode to repair invalid JSON arguments before invoking a local tool.
compose
batch command
This example demonstrates the BatchNode component for processing multiple inputs through a Graph or Workflow with configurable concurrency and interrupt/resume support.
This example demonstrates the BatchNode component for processing multiple inputs through a Graph or Workflow with configurable concurrency and interrupt/resume support.
batch/batch
Package batch provides a BatchNode implementation for processing multiple inputs through a Graph or Workflow with configurable concurrency and interrupt/resume support.
Package batch provides a BatchNode implementation for processing multiple inputs through a Graph or Workflow with configurable concurrency and interrupt/resume support.
chain command
graph/simple command
graph/state command
devops
debug command
flow
agent/react command
agent/deer-go module
internal
quickstart
chat command
todoagent command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL