Skip to content

Commit 6bcd40c

Browse files
update outdated Go SDK import paths (#107)
1 parent 1e3f55f commit 6bcd40c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modus/api-generation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ package main
3434
import (
3535
"errors"
3636
"fmt"
37-
"github.com/hypermodeAI/functions-go/pkg/models"
38-
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
37+
"github.com/hypermodeinc/modus/sdk/go/models"
38+
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
3939
)
4040

4141
const modelName = "my-classifier"

modus/search.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ Create the embedding function using the embedding model:
136136
package main
137137

138138
import (
139-
"github.com/hypermodeAI/functions-go/pkg/models"
140-
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
139+
"github.com/hypermodeinc/modus/sdk/go/models"
140+
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
141141
)
142142

143143
func Embed(text []string) ([][]float32, error) {
@@ -204,8 +204,8 @@ Create the embedding function using the embedding model:
204204

205205
```go Go
206206
import (
207-
"github.com/hypermodeAI/functions-go/pkg/models"
208-
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
207+
"github.com/hypermodeinc/modus/sdk/go/models"
208+
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
209209
)
210210

211211
func Embed(texts ...string) ([][]float32, error) {

0 commit comments

Comments
 (0)