Skip to content

Commit

Permalink
fix embedder test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalef committed Sep 17, 2023
1 parent e1689db commit e7ec94a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/extractors/embedder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import (
)

func TestEmbeddingExtractor_Extract_OpenAI(t *testing.T) {
appState.Config.LLM.Service = "openai"
appState.Config.LLM.Model = "gpt-3.5-turbo"
appState.Config.Extractors.Messages.Embeddings.Service = "openai"
appState.Config.Extractors.Messages.Embeddings.Dimensions = 1536

llmClient, err := llms.NewOpenAILLM(testCtx, appState.Config)
assert.NoError(t, err)
appState.LLMClient = llmClient
Expand Down

0 comments on commit e7ec94a

Please sign in to comment.