We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd6b126 commit 7270fb3Copy full SHA for 7270fb3
1 file changed
examples/hybrid/example.php
@@ -15,7 +15,7 @@ function embed($input, $taskType)
15
{
16
// nomic-embed-text uses a task prefix
17
// https://huggingface.co/nomic-ai/nomic-embed-text-v1.5
18
- $input = array_map(fn($v) => $taskType . ': ' . $v, $input);
+ $input = array_map(fn ($v) => $taskType . ': ' . $v, $input);
19
20
$url = 'http://localhost:11434/api/embed';
21
$data = [
0 commit comments