Skip to content

Commit

Permalink
fix: broken url and non-proper info (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
shentongmartin authored Jan 17, 2025
1 parent 61e9786 commit eea25ec
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 204 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Eino 切面(Eino Callback)是 Eino 框架对开发提供的扩展 Eino 框架,
- 切面角色
- 切面机制:由 Eino 框架提供了,扩展 Eino 自身功能的机制
- 切面扩展者:基于 Eino 的扩展能力,设计和提供各种各样的独立于 Graph 执行的扩展能力
- 例如:Fornax Trace、Fornax 指标
- 例如:Langfuse Trace 等
- 切面使用者:真正使用切面扩展能力的终端业务
- 例如:针对业务编排的 Graph 图,添加 Fornax Trace、Fornax 指标 两种切面能力。方便对编排产物的执行进行观测
- 例如:针对业务编排的 Graph 图,添加 Langfuse Trace 切面能力。方便对编排产物的执行进行观测

### 切面位置

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ result, err := runnable.Invoke(ctx, docs, compose.WithCallbacks(helper))
## **已有实现**

1. Volc VikingDB Indexer: 基于火山引擎 VikingDB 实现的向量数据库索引器 [Indexer - VikingDB](/zh/docs/eino/ecosystem_integration/indexer_volc_vikingdb)
2. ByteES Indexer: 基于字节内部 ES 服务实现的全文索引器

## **自行实现参考**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ Host Multi-Agent 是一个 Host 做意图识别后,跳转到某个专家 agent

Host:

```go
func newHost(ctx context.Context) (*host.Host, error) {
chatModel, err := bytedgpt.NewChatModel(ctx, &bytedgpt.ChatModelConfig{
BaseURL: "https://search.bytedance.net/gpt/openapi/online/multimodal/crawl",
Model: "gpt-4o-2024-05-13",
```Go
func newHost(ctx context.Context, baseURL, apiKey, modelName string) (*host.Host, error) {
chatModel, err := openai.NewChatModel(ctx, &openai.ChatModelConfig{
BaseURL: baseURL,
Model: modelName,
ByAzure: true,
APIKey: os.Getenv("OPENAI_API_KEY"),
APIKey: apiKey,
})
if err != nil {
return nil, err
}

return &host.Host{
ChatModel: chatModel,
ChatModel: chatModel,
SystemPrompt: "You can read and write journal on behalf of the user. When user asks a question, always answer with journal content.",
}, nil
}
Expand Down
1 change: 0 additions & 1 deletion content/zh/docs/eino/quick_start/agent_llm_with_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,4 @@ Agent 是 AI 技术发展的重要方向。它不仅能够理解用户意图,

- 快速开始
- [实现一个最简 LLM 应用-ChatModel](/zh/docs/eino/quick_start/simple_llm_application)
- [和幻觉说再见-RAG 召回再回答](/zh/docs/eino/quick_start/rag_retrieval_qa)
- [复杂业务逻辑的利器-编排](/zh/docs/eino/quick_start/complex_business_logic_orchestration)

This file was deleted.

1 change: 0 additions & 1 deletion content/zh/docs/eino/quick_start/simple_llm_application.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,4 @@ func main() {

- 快速开始
- [Agent-让大模型拥有双手](/zh/docs/eino/quick_start/agent_llm_with_tools)
- [和幻觉说再见-RAG 召回再回答](/zh/docs/eino/quick_start/rag_retrieval_qa)
- [复杂业务逻辑的利器-编排](/zh/docs/eino/quick_start/complex_business_logic_orchestration)

0 comments on commit eea25ec

Please sign in to comment.