Skip to content

Commit

Permalink
adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alizenhom committed Apr 3, 2024
1 parent 97b0341 commit 7181e11
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,24 @@ LangTrace.init() // LANGTRACE_API_KEY as an ENVIRONMENT variable

### If your application is built using **python**

```
```python
pip install langtrace-python-sdk
```

```python
from langtrace_python_sdk import langtrace
langtrace.init(api_key=<your_api_key>)
```

OR

```python
from langtrace_python_sdk import langtrace
langtrace.init(api_key=process.env.LANGTRACE_API_KEY)
langtrace.init() # LANGTRACE_API_KEY as an ENVIRONMENT variable
```



### Langtrace self hosted

To run the Langtrace locally, you have to run three services:
Expand Down

0 comments on commit 7181e11

Please sign in to comment.