From f6085a18e2aab69588299b50b0a34ed374fb223f Mon Sep 17 00:00:00 2001 From: Brandon Meyerowitz Date: Mon, 14 Aug 2023 12:22:44 -0400 Subject: [PATCH] fix: update github repository url --- README.md | 19 +++++++++++-------- package.json | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5412d88..1ed45dd 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,15 @@ Commonbase allows developers to integrate with any popular LLM API provider without needing to change any code. The SDK helps with collecting data and -feedback from the users and helps you fine-tune models for your specific use case. +feedback from the users and helps you fine-tune models for your specific use +case. [![](./docs/chat-repl.gif)](./examples/chat-repl.ts) ## Installation -Install [Commonbase from npm](https://www.npmjs.com/package/@commonbase/sdk) using your -preferred package manager: +Install [Commonbase from npm](https://www.npmjs.com/package/@commonbase/sdk) +using your preferred package manager: ```bash npm add @commonbase/sdk @@ -21,11 +22,12 @@ yarn add @commonbase/sdk ## Usage -A Project ID and API Key are required for all Commonbase requests. You can find your project ID -and generate an API key in the [Commonbase Dashboard](https://commonbase.com/). +A Project ID and API Key are required for all Commonbase requests. You can find +your project ID and generate an API key in the +[Commonbase Dashboard](https://commonbase.com/). -To create a completion, configure a `Client` with your API Key and provide your Project ID -and prompt to `createCompletion`. +To create a completion, configure a `Client` with your API Key and provide your +Project ID and prompt to `createCompletion`. ```typescript import { Client } from "@commonbase/sdk"; @@ -44,4 +46,5 @@ console.log(completion.bestResult); To stream a completion as it is generated, use `streamCompletion`. -For more examples, see [/examples](https://github.com/commonbaseapp/sdk/tree/main/examples). +For more examples, see +[/examples](https://github.com/commonbaseapp/commonbase-js/tree/main/examples). diff --git a/package.json b/package.json index 9d126ae..4687ea7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Commonbase is a Typescript SDK for building LLM integrations and tooling", "repository": { "type": "git", - "url": "git@github.com:commonbaseapp/sdk.git" + "url": "git@github.com:commonbaseapp/commonbase-js.git" }, "keywords": [ "commonbase",