Skip to content

Commit

Permalink
added openai api prereq credits to prevent limit rate error (#136)
Browse files Browse the repository at this point in the history
* added openai api prereq credits to prevent limit rate error

* added the bulk of openai usage to the bottom of the readme doc

* added to index.md
  • Loading branch information
moutasemalakkad authored Jun 21, 2024
1 parent 6663d04 commit 918354f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ using Azure OpenAI please see the Azure setup section):
export OPENAI_API_KEY="your-api-key"
```

### Important Note on API Usage
Please be aware that using the API in this project requires you to have API credits (minimum of five US dollars). This is different from the OpenAI subscription used in this chatbot. If you don't have credit, further information can be found [here](https://github.com/moutasemalakkad/vision-agent/blob/57e50b59e39fde7d943d534a8bf83c5ff6281562/README.md#L215-L216)

### Vision Agent
#### Basic Usage
You can interact with the agent as you would with any LLM or LMM model:
Expand Down Expand Up @@ -208,3 +211,13 @@ You can then run Vision Agent using the Azure OpenAI models:
import vision_agent as va
agent = va.agent.AzureVisionAgent()
```
******************************************************************************************************************************
#### To get started with API credits:

1. Visit the[OpenAI API platform](https://beta.openai.com/signup/) to sign up for an API key.
2. Follow the instructions to purchase and manage your API credits.
3. Ensure your API key is correctly configured in your project settings.

Failure to have sufficient API credits may result in limited or no functionality for the features that rely on the OpenAI API.

For more details on managing your API usage and credits, please refer to the OpenAI API documentation.
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ using Azure OpenAI please see the Azure setup section):
export OPENAI_API_KEY="your-api-key"
```

### Important Note on API Usage
Please be aware that using the API in this project requires you to have API credits (minimum of five US dollars). This is different from the OpenAI subscription used in this chatbot. If you don't have credit, further information can be found [here](https://github.com/moutasemalakkad/vision-agent/blob/f491252f3477103b7f517c45e6dea2f9d9f7abc4/docs/index.md#L207)

### Vision Agent
#### Basic Usage
You can interact with the agent as you would with any LLM or LMM model:
Expand Down Expand Up @@ -200,3 +203,13 @@ You can then run Vision Agent using the Azure OpenAI models:
import vision_agent as va
agent = va.agent.AzureVisionAgent()
```
******************************************************************************************************************************
#### To get started with API credits:

1. Visit the[OpenAI API platform](https://beta.openai.com/signup/) to sign up for an API key.
2. Follow the instructions to purchase and manage your API credits.
3. Ensure your API key is correctly configured in your project settings.

Failure to have sufficient API credits may result in limited or no functionality for the features that rely on the OpenAI API.

For more details on managing your API usage and credits, please refer to the OpenAI API documentation.

0 comments on commit 918354f

Please sign in to comment.