SmartGent Enterprise Search Tool icon

SmartGent Enterprise Search Tool

SmartGent Enterprise Search tool for AI Agent nodes

SmartGent Enterprise Search Tool

AI-generated

Overview

The SmartGent Enterprise Search Tool node performs enterprise-level search queries using a specified chatbot. It sends a search query to the SmartGent API and retrieves relevant documents or results from the enterprise knowledge base associated with the chatbot. This node is useful for scenarios where users want to integrate AI-powered search capabilities into their workflows, such as retrieving company documents, knowledge articles, or other enterprise data based on a query.

Use Case Examples

  1. Searching for internal documentation related to a specific topic using a chatbot.
  2. Retrieving relevant enterprise knowledge base articles for customer support automation.
  3. Integrating enterprise search results into an AI agent workflow for enhanced decision-making.

Properties

Name Meaning
Chatbot Name or ID Selects the chatbot to use for the search query. Users can choose from a list of available chatbots or specify a chatbot ID using an expression.
Search Query The search query string to execute against the enterprise search API.
Max Results An optional field specifying the maximum number of search results to return.

Output

JSON

  • query - The original search query string provided by the user.
  • chatbotGuid - The identifier of the chatbot used for the search.
  • response - A formatted string summarizing the search results, including the number of results and details of each result such as content and source.
  • rawResults - The raw JSON response from the SmartGent API containing detailed search results.
  • timestamp - The ISO timestamp when the search was executed.
  • resultCount - The number of search results returned by the API.

Dependencies

  • Requires SmartGent API credentials including an API key and base URL.

Troubleshooting

  • If the node fails to execute, check that the SmartGent API credentials are correctly configured and valid.
  • Ensure the chatbot ID is correct and the chatbot is accessible via the API.
  • If no results are returned, verify the search query is valid and that the enterprise knowledge base contains relevant data.
  • Common error messages include HTTP request failures or invalid API responses, which may require checking network connectivity or API service status.

Links

Discussion