Skip to content

Commit

Permalink
Update client docs with new endpoint source (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
abidwael authored Dec 21, 2023
1 parent 13d3c73 commit 69b0856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/python_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ Example:
```python
from lorax import Client

endpoint_url = f"https://api.app.predibase.com/v1/llms/{llm_deployment_name}"
# You can get your Predibase API token by going to Settings > My Profile > Generate API Token
# You can get your Predibase Tenant short code by going to Settings > My Profile > Overview > Tenant ID
endpoint_url = f"https://serving.app.predibase.com/{predibase_tenant_short_code}/deployments/v2/llms/{llm_deployment_name}"
headers = {
"Authorization": f"Bearer {api_token}"
}
Expand Down

0 comments on commit 69b0856

Please sign in to comment.