* Add docs folder with introduction, overview, and getting started

* Add feature pages

* Remove some of Who We Are
This commit is contained in:
arcticfly
2023-08-31 13:20:08 -07:00
committed by GitHub
parent 16354d83df
commit 96a589e401
19 changed files with 371 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
This client allows you automatically report your OpenAI calls to [OpenPipe](https://openpipe.ai/). OpenPipe
## Installation
`pip install openpipe`
## Usage
@@ -15,7 +16,7 @@ This client allows you automatically report your OpenAI calls to [OpenPipe](http
from openpipe import openai, configure_openpipe
import os
# Set the OpenPipe API key you got in step (3) above.
# Set the OpenPipe API key you got in step (2) above.
# If you have the `OPENPIPE_API_KEY` environment variable set we'll read from it by default.
configure_openpipe(api_key=os.getenv("OPENPIPE_API_KEY"))
@@ -37,4 +38,4 @@ completion = openai.ChatCompletion.create(
messages=[{"role": "system", "content": "count to 10"}],
openpipe={"tags": {"prompt_id": "counting"}},
)
```
```