feat: initialize Eino examples and ADK applications
Include chat, weather, image, travel, streaming ASR and text examples, shared model initialization, documentation, and existing tests. Co-authored-by: TRAE CLI <traecli@bytedance.com>
This commit is contained in:
commit
81deca8c8e
75 files changed
+7048
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package model
|
||||
|
||||
// TravelRequest 是主助手提取的出行需求,日期使用北京时间。
|
||||
type TravelRequest struct {
|
||||
Location string `json:"location"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
}
|
||||
|
||||
// TravelGuide 在 Graph 节点之间传递天气、行程和图片结果。
|
||||
type TravelGuide struct {
|
||||
Request TravelRequest `json:"request"`
|
||||
Weather WeatherForecast `json:"weather"`
|
||||
Plan string `json:"plan,omitempty"`
|
||||
ImagePrompt string `json:"image_prompt,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Problem string `json:"problem,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user