Skip to content

Commit 7270fb3

Browse files
committed
Updated style [skip ci]
1 parent fd6b126 commit 7270fb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/hybrid/example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function embed($input, $taskType)
1515
{
1616
// nomic-embed-text uses a task prefix
1717
// https://huggingface.co/nomic-ai/nomic-embed-text-v1.5
18-
$input = array_map(fn($v) => $taskType . ': ' . $v, $input);
18+
$input = array_map(fn ($v) => $taskType . ': ' . $v, $input);
1919

2020
$url = 'http://localhost:11434/api/embed';
2121
$data = [

0 commit comments

Comments
 (0)