Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajout d'ecxternal de Llm.php avec la mme focntion qu'un sum #4043

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions src/PhpSpreadsheet/Calculation/Calculation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

Check warning on line 1 in src/PhpSpreadsheet/Calculation/Calculation.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: no_trailing_whitespace

Check warning on line 1 in src/PhpSpreadsheet/Calculation/Calculation.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: no_whitespace_in_blank_line

namespace PhpOffice\PhpSpreadsheet\Calculation;

Expand Down Expand Up @@ -1633,7 +1633,7 @@
'category' => Category::CATEGORY_STATISTICAL,
'functionCall' => [Statistical\Trends::class, 'LINEST'],
'argumentCount' => '1-4',
],
],

Check failure on line 1636 in src/PhpSpreadsheet/Calculation/Calculation.php

View workflow job for this annotation

GitHub Actions / phpcs

Whitespace found at end of line
'LN' => [
'category' => Category::CATEGORY_MATH_AND_TRIG,
'functionCall' => [MathTrig\Logarithms::class, 'natural'],
Expand Down Expand Up @@ -2873,7 +2873,7 @@
'functionCall' => [Internal\WildcardMatch::class, 'compare'],
],
];

Check failure on line 2876 in src/PhpSpreadsheet/Calculation/Calculation.php

View workflow job for this annotation

GitHub Actions / phpcs

Whitespace found at end of line
public function __construct(?Spreadsheet $spreadsheet = null)
{
$this->spreadsheet = $spreadsheet;
Expand Down
11 changes: 11 additions & 0 deletions src/PhpSpreadsheet/Calculation/External/Llm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

Check warning on line 1 in src/PhpSpreadsheet/Calculation/External/Llm.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: single_quote

namespace PhpOffice\PhpSpreadsheet\Calculation\External;

class Llm
{
public static function call(string $prompt, string $model = "dolphinLama2.3"): string
{
return "falue";
}
}
Loading