From fee9aa40b24dfcc5915c6e62e0482082552f34b1 Mon Sep 17 00:00:00 2001 From: Eric Guo Date: Mon, 24 Feb 2025 11:31:08 +0800 Subject: [PATCH] Basically AI generated README. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9bb6f0c..554b5d1 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,14 @@ To use the DifyClient gem, follow these steps: 1 Require the gem: ```ruby -require 'dify_client' +require 'dify/client' ``` + 2 Create a new client instance: ```ruby api_key = 'YOUR_API_KEY' -client = DifyClient::Client.new(api_key) +client = ChatClient.new(api_key) ``` 3 Use the available methods to interact with the Dify.ai API. Here are the methods provided by the DifyClient::Client class: @@ -101,4 +102,4 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/langg ## License -The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). \ No newline at end of file +The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).