From 1339c534db67a72e108b65935048ed3490a2b70e Mon Sep 17 00:00:00 2001 From: Ashley Johnson <61059402+PapaRascal2020@users.noreply.github.com> Date: Sun, 8 Sep 2024 07:54:10 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b970c7..6eed9b4 100644 --- a/README.md +++ b/README.md @@ -194,14 +194,14 @@ $sidekick = Sidekick::create(new OpenAi()); return $sidekick->complete()->sendMessage( model: 'gpt-3.5-turbo', systemPrompt: 'You an expert on fudge, answer user questions about fudge.', - messages:[['role' => 'user', 'content' => "How is fudge made?"]] + message:"How is fudge made?" ); ``` #### Embedding ```php -$sidekick = Sidekick::create(new OpenAi()); +$sidekick = Sidekick::create(new Mistral()); return $sidekick->embedding()->make( model: 'mistral-embed', @@ -312,7 +312,7 @@ return $sidekick->moderate()->text( > [!NOTE] -> Quick note on error handling. Currently if there is an error it is printed as the AI responds. I will be updating +> Quick note on error handling. Currently, if there is an error it is printed as the AI responds. I will be updating > this over the next few days to be uniformed so that all errors are presented in tha same way regardless of AI driver/model ### Ways to Contribute @@ -334,3 +334,5 @@ I have tested the package using the following models: ```mistral-small-latest, mistral-medium-latest, mistral-large-latest, open-mistral-7b, mistral-embed``` #### Claude AI ```claude-3-opus-20240229, claude-3-sonnet-20240229, claude-3-haiku-20240307``` +#### Cohere AI +```command-r-08-2024 command-r-plus-08-2024```