Skip to content

Commit

Permalink
feat: migrate openai sdk from sashabaranov to openai
Browse files Browse the repository at this point in the history
  • Loading branch information
meguminnnnnnnnn committed Feb 26, 2025
1 parent a4e81e8 commit c57a695
Show file tree
Hide file tree
Showing 10 changed files with 380 additions and 278 deletions.
3 changes: 3 additions & 0 deletions components/embedding/dashscope/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module github.com/cloudwego/eino-ext/components/embedding/dashscope

go 1.18

replace (
github.com/cloudwego/eino-ext/libs/acl/openai => ../../../libs/acl/openai
)
require (
github.com/bytedance/mockey v1.2.13
github.com/cloudwego/eino v0.3.13
Expand Down
4 changes: 4 additions & 0 deletions components/embedding/openai/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ module github.com/cloudwego/eino-ext/components/embedding/openai

go 1.18

replace (
github.com/cloudwego/eino-ext/libs/acl/openai => ../../../libs/acl/openai
)

require (
github.com/bytedance/mockey v1.2.13
github.com/cloudwego/eino v0.3.13
Expand Down
3 changes: 3 additions & 0 deletions components/model/openai/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module github.com/cloudwego/eino-ext/components/model/openai

go 1.18

replace (
github.com/cloudwego/eino-ext/libs/acl/openai => ../../../libs/acl/openai
)
require (
github.com/bytedance/mockey v1.2.13
github.com/cloudwego/eino v0.3.13
Expand Down
3 changes: 3 additions & 0 deletions components/model/qwen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module github.com/cloudwego/eino-ext/components/model/qwen

go 1.18

replace (
github.com/cloudwego/eino-ext/libs/acl/openai => ../../../libs/acl/openai
)
require (
github.com/bytedance/mockey v1.2.13
github.com/cloudwego/eino v0.3.13
Expand Down
Loading

0 comments on commit c57a695

Please sign in to comment.