Skip to content

Commit c9e46c4

Browse files
committed
refactor embeddings
1 parent 29299e7 commit c9e46c4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

modules/openai_embeddings/includes/VectorClientBase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ protected function resolveConfigValue(string $key, string $description, bool $re
9393
return trim($value);
9494
}
9595

96-
9796
/**
9897
* Initialize an HTTP client with default options.
9998
*

modules/openai_embeddings/openai_embeddings.module

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ function openai_embeddings_search_form_ajax_callback($form, &$form_state) {
346346

347347
// Prepare the query text for embedding.
348348
$text = openai_embeddings_prepare_text($query_text, 1024);
349-
dpm($text);
350349

351350
// Initialize OpenAIApi instance.
352351
$openai_config = config('openai.settings');

0 commit comments

Comments
 (0)