# Docs for v1 can be found by changing the above selector ^
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
with client.files.with_streaming_response.content(id="file-id") as response:
for line in response.iter_lines():
print(line)"<string>"Get the contents of a single uploaded data file.
# Docs for v1 can be found by changing the above selector ^
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
with client.files.with_streaming_response.content(id="file-id") as response:
for line in response.iter_lines():
print(line)"<string>"Was this page helpful?