Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modus/api-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ package main
import (
"errors"
"fmt"
"github.com/hypermodeAI/functions-go/pkg/models"
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
"github.com/hypermodeinc/modus/sdk/go/models"
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
)

const modelName = "my-classifier"
Expand Down
8 changes: 4 additions & 4 deletions modus/search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ Create the embedding function using the embedding model:
package main

import (
"github.com/hypermodeAI/functions-go/pkg/models"
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
"github.com/hypermodeinc/modus/sdk/go/models"
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
)

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

```go Go
import (
"github.com/hypermodeAI/functions-go/pkg/models"
"github.com/hypermodeAI/functions-go/pkg/models/experimental"
"github.com/hypermodeinc/modus/sdk/go/models"
"github.com/hypermodeinc/modus/sdk/go/models/experimental"
)

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