🤜🤛 Expand and Enrich Your Partner Network with a Partner Discovery Platform
Docs Second
  1. Docs
  2. Run your marketplace
  3. Set up AI
How-to guide Operator

Set up artificial intelligence

Second connects to the AI model provider the operator chooses, including a self-hosted server. This page explains to the operator how to set the provider, the models, the limits, how long conversations are kept and the assistants' instructions, then how to turn on each feature.

Last updated

Before you start

  • Access to the back office. The back office is the marketplace's administration tool. AI settings are reserved for administrators who have configuration rights.
  • An account with a model provider. Second accepts the model provider of your choice, as long as it is compatible with the standard language model interface. A self-hosted server also works. Have the access key that this service gave you ready.

How does AI work in Second?

Three principles apply to every feature:

  • AI suggests; it never publishes. A person always validates: the vendor chooses their listing's type, the customer publishes their own request for proposal.
  • AI respects rights. Through an assistant, each person only sees what they would see on the site with their own rights. A visitor only sees public content.
  • The site works without it. If the provider does not respond, the standard forms remain available.

Each feature is described in detail in AI in Second.

Set the provider and the models

  1. Enter the provider and its access key. Indicate the service to use and the key it gave you.
  2. Choose one model per use. Second distinguishes six uses, called roles. You can assign a different model to each, for example a light model for quick tasks and a more powerful model for reasoning.
  3. Add fallback models. For each role, list other models in order of preference. If the first one fails, Second tries the next.
Role Use
Fast Short tasks, such as suggesting a listing's type.
Conversation Exchanges with the assistants.
Reasoning Questions that need several steps.
Vision Reading images.
Documents Reading attachments.
Image generation Illustrating a request for proposal.

Turn on the features

Each feature is turned on separately. This lets you open the search assistant without opening the request for proposal assistant, for example.

Feature For whom
Listing type suggestion Vendors
Matching service providers with a request for proposal Customers and vendors
Search assistant Visitors and customers
Request for proposal assistant, with attachments Customers
Data assistant Operator (see the page)
Can be turned on or off · off by default

Each AI feature, one by one. The operator changes it in the back office, under Configuration › Features.

Which limits apply?

Safeguards protect the marketplace and your budget. The values below are the defaults. The operator can change them.

  • Length of a reply. A reply lasts at most 90 seconds and chains at most 8 steps, such as searches or readings. Beyond that, the assistant stops and says so.
  • Number of messages. A visitor who is not signed in can send at most 10 messages per minute and 50 per day. A signed-in user, 20 per minute and 200 per day.
  • Keeping conversations. A signed-in user's conversations are kept for 6 months after their last activity. A visitor's, for about 24 hours. Expired conversations are deleted every hour. A signed-in user can delete their conversations at any time.

All the values are grouped in AI limits.

Customise the assistants' instructions

Each assistant follows instructions, also called "prompts". The operator can replace them to adapt the tone, the vocabulary or the rules of their sector.

  1. Open the assistant's instructions. The original instructions are shown.
  2. Edit the text and save. Each save creates a new version. It does not apply yet.
  3. Activate the version. Activation is manual. This lets you prepare a version without changing how the assistant behaves.