Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebowczyk committed Oct 5, 2024
1 parent cdc8639 commit 8448f19
Show file tree
Hide file tree
Showing 19 changed files with 10,952 additions and 313 deletions.
7 changes: 7 additions & 0 deletions config/llm.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
'useObjectReferences' => false,
'defaultConnection' => 'openai',

'defaultToolName' => 'extracted_data',
'defaultToolDescription' => 'Function call based on user instructions.',
'defaultRetryPrompt' => "JSON generated incorrectly, fix following errors:\n",
'defaultMdJsonPrompt' => "Response must validate against this JSON Schema:\n<|json_schema|>\n. Respond correctly with strict JSON object within a ```json {} ``` codeblock.\n",
'defaultJsonPrompt' => "Response must follow JSON Schema:\n<|json_schema|>\n. Respond correctly with strict JSON object.\n",
'defaultToolsPrompt' => "Extract correct and accurate data from the input using provided tools.\n",

'connections' => [
'anthropic' => [
'providerType' => LLMProviderType::Anthropic->value,
Expand Down
Loading

0 comments on commit 8448f19

Please sign in to comment.