Prerequisites
- A Together AI account with an API key (https://api.together.ai/settings/api-keys)
Important Notes
- Together.ai usage may incur costs based on your Together.ai plan.
- Be mindful of sensitive data and consider security measures when integrating with external services.
Chat Completions
Create a Table: In Pixeltable, create a table with columns to represent your input data and the columns where you want to store the results from OpenAI.| input | response |
|---|---|
| Can you make me a coffee? | I'm not capable of physically making you a coffee, but I can guide you through the process or provide you with a virtual coffee recipe if you'd like. |
| How many species of felids have been classified? | There are approximately 40 species of felids that have been classified, but this number may vary depending on the source and the taxonomy used. Some sources may group certain species together, while others may recognize them as separate species. |
Embeddings
| input | embedding |
|---|---|
| Together AI provides a variety of embeddings models. | [ 0.016 -0.21 0.201 0.153 -0.339 0.164 ... -0.049 0.003 -0.157 0.178 -0.063 -0.168] |
Image Generations
| Table 'together_demo.images' |
| Column Name | Type | Computed With |
|---|---|---|
| input | String | |
| img | Image | image_generations(input, model='black-forest-labs/FLUX.1-schnell', options={'steps': 5}) |
| input | img |
|---|---|
| A friendly dinosaur playing tennis in a cornfield |