Skip to content

Commit

Permalink
Update embedding model in weather-cf service
Browse files Browse the repository at this point in the history
Switched from using "@cf/baai/bge-base-en-v1.5 model" to "@cf/baai/bge-large-en-v1.5". This change is expected to improve the quality of the generated embeddings.
  • Loading branch information
ryanbekhen committed Aug 10, 2024
1 parent 8621f7b commit cafa687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/weather-cf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func main() {
prompt := "Using this data: " + weather + ". Respond to this prompt: " + message

_, err = engine2.Embedding(context.Background(), &cfworkerai.EmbeddingRequest{
Model: "@cf/baai/bge-base-en-v1.5 model",
Model: "@cf/baai/bge-large-en-v1.5",
Prompt: prompt,
})
if err != nil {
Expand Down

0 comments on commit cafa687

Please sign in to comment.