Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update client docs with new endpoint source #146

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Update client docs with new endpoint source #146

merged 2 commits into from
Dec 21, 2023

Conversation

abidwael
Copy link
Contributor

No description provided.

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}/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need trailing slash?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can with or without, but we no longer need it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for record-keeping, using /generate will not work in the client because the API will not return a list.

@abidwael abidwael merged commit 69b0856 into main Dec 21, 2023
@abidwael abidwael deleted the update-endpoint branch December 21, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants