Skip to content

Commit fd6b126

Browse files
committed
Fixed indentation in examples [skip ci]
1 parent 2e97a6a commit fd6b126

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

examples/cohere/example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ function embed($texts, $inputType)
3232
}
3333

3434
$input = [
35-
'The dog is barking',
36-
'The cat is purring',
37-
'The bear is growling'
35+
'The dog is barking',
36+
'The cat is purring',
37+
'The bear is growling'
3838
];
3939
$embeddings = embed($input, 'search_document');
4040
foreach ($input as $i => $content) {

examples/hybrid/example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ function embed($input, $taskType)
3535
}
3636

3737
$input = [
38-
'The dog is barking',
39-
'The cat is purring',
40-
'The bear is growling'
38+
'The dog is barking',
39+
'The cat is purring',
40+
'The bear is growling'
4141
];
4242
$embeddings = embed($input, 'search_document');
4343

examples/openai/example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ function embed($input)
3131
}
3232

3333
$input = [
34-
'The dog is barking',
35-
'The cat is purring',
36-
'The bear is growling'
34+
'The dog is barking',
35+
'The cat is purring',
36+
'The bear is growling'
3737
];
3838
$embeddings = embed($input);
3939
foreach ($input as $i => $content) {

examples/sparse/example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ function embed($inputs)
4444
}
4545

4646
$input = [
47-
'The dog is barking',
48-
'The cat is purring',
49-
'The bear is growling'
47+
'The dog is barking',
48+
'The cat is purring',
49+
'The bear is growling'
5050
];
5151
$embeddings = embed($input);
5252
foreach ($input as $i => $content) {

0 commit comments

Comments
 (0)