nele.ai icon

nele.ai

Search for results in your nele.ai knowledge database

Actions5

Chat → Completion

AI-generated

Summary

Calls the nele.ai chat completion API to generate a response from the provided messages using the selected model, optionally grounding the answer in a knowledge database and controlling token length and randomness.

Inputs

  • model (required) — The nele.ai model ID to use for completion.
  • messages (required) — List of chat messages, each with a role (user, assistant, system) and content.
  • additionalFields — Optional settings for the completion request.

Output shape

object

Typically includes the generated message in a 'choices' array and metadata such as id, model, created.

Examples

Example 1: Simple chat

Set Model Name or ID to a model like 'gpt-3.5-turbo', provide a user message with content 'Hello!', leave options blank.

Discussion