deepset-ai / deepset-cloud-sdk

A Python SDK to interact with deepset Cloud
Apache License 2.0
9 stars 2 forks source link

Docs: Move tupload_texts() example from guides to reference #196

Closed agnieszka-m closed 5 months ago

agnieszka-m commented 5 months ago

Proposed Changes?

SOLs suggested upload_bytes() is the method we should promote in the guides, since they can use it for all file types, not just text. I'm deleting upload_texts() examples from https://docs.cloud.deepset.ai/docs/upload-files-with-python#upload-texts-or-bytes and moving them to reference. The how-tos will just have examples of upload_bytes.

How did you test it?

Notes for the reviewer

I'm not sure the formatting is OK.

Screenshots (optional)

Checklist

github-actions[bot] commented 5 months ago

Coverage report

This PR does not seem to contain any modification to coverable code.

sjrl commented 5 months ago

Hey @agnieszka-m there were a few indenting changes I made, that were hard to create as suggestions, so I just made a quick commit!