From 7006d09f24259e3a5a3eb865c5f2cb7e043827aa Mon Sep 17 00:00:00 2001 From: PilarHidalgo <37567214+PilarHidalgo@users.noreply.github.com> Date: Sat, 14 Dec 2024 14:21:59 -0500 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d10d4e8..a09aa80 100644 --- a/README.md +++ b/README.md @@ -111,11 +111,11 @@ codegpt.get_documents() >> Document(id='0000000-0000-0000-0000-000000000001', ...)] ``` -#### Get document by ID +#### Get document ```python from judini import CodeGPTPlus codegpt = CodeGPTPlus(api_key=CODEGPT_API_KEY, org_id=ORG_ID) -document = codegpt.get_document_by_id('0000000-0000-0000-0000-000000000000') +document = codegpt.get_document('0000000-0000-0000-0000-000000000000') document >> Document(id='0000000-0000-0000-0000-000000000000', >> user_id='...', @@ -154,4 +154,4 @@ codegpt.delete_document('0000000-0000-0000-0000-000000000000') You can review more examples in our [Cookbook Repository](https://github.com/judinilabs/cookbook/) ## Changelog -[Changelog](https://github.com/JudiniLabs/judini-python/blob/main/CHANGELOG.md) \ No newline at end of file +[Changelog](https://github.com/JudiniLabs/judini-python/blob/main/CHANGELOG.md)