Collections
Collections are only supported with pipeline bots
A collection in OCS refers to a collection of files. There are two types of collections:
Adding a collection to a bot
Navigate to the Collections section in the sidebar and click "Add new". Once the collection is created, you will be able to upload files to it.
After your collection has been created and populated with files, you can link it to any LLM node.
How are attachments sent?
Whenever your bot references a particular file or document, it will be sent to the user as an attachment. Depending on the channel, attachments are delivered in different ways.
Web channels
Attachments are directly downloadable by clicking on them.
Multimedia-unsupported channels
By default, attachments are sent as download links appended to the bot's message. The user will see the file name and a corresponding download link at the end of the message. These channels do not yet support sending multimedia files:
- Telegram
- WhatsApp (Turn.io provider)
- SureAdhere
- Facebook Messenger
- Slack
Multimedia-supported channels
Channels that support sending multimedia files will receive each attachment as a separate message, following the bot's initial response. If a file type is not supported by the channel, or the file size exceeds the allowed limit, a download link will be appended to the bot's message instead. These channels support sending multimedia files:
- API - See the API documentation for more information
- WhatsApp (Twilio Provider) - Consult the Twilio docs for supported file types.