LogoLogo
HomeNewsSupportVideos
  • Welcome
  • Wisej.NET
  • Concepts
    • Getting Started
    • General Concepts
    • Architecture
    • Extensibility
    • AI Providers
    • Vector Databases
    • Usage Metrics
    • Logging & Error Handling
  • Markup
  • Components
    • API
      • SmartAdapter
        • SmartAudioTTSAdapter
        • SmartAudioWhisperAdapter
        • SmartCalendarAdapter
        • SmartChartAdapter
        • SmartChartJS3Adapter
        • SmartChatBoxAdapter
        • SmartComboBoxAdapter
        • SmartCopilotAdapter
        • SmartDataEntryAdapter
        • SmartDocumentAdapter
        • SmartFullCalendarAdapter
        • SmartObjectAdapter
        • SmartPictureBoxAdapter
        • SmartQueryAdapter
        • SmartRealtimeAdapter
        • SmartReportAdapter
        • SmartTextBoxAdapter
        • SmartAdapter.ExtendsAttribute
        • SmartAdapter.FieldNameAttribute
        • SmartAdapter.FieldPromptAttribute
        • SmartAdapter.FieldRectangleAttribute
        • SmartAdapter.WorksWithAttribute
      • SmartEndpoint
        • AmazonBedrockEndpoint
        • AnthropicEndpoint
        • AzureAIEndpoint
        • CerebrasEndpoint
        • DeepSeekEndpoint
        • GoogleAIEndpoint
        • GroqCloudEndpoint
        • GroqCloudEndpointWhisper
        • HuggingFaceEndpoint
        • HuggingFaceJavaScriptEndpoint
        • LocalAIEndpoint
        • LocalAIEndpointImageGen
        • LocalAIEndpointTTS
        • LocalAIEndpointWhisper
        • NvidiaAIEndpoint
        • OllamaEndpoint
        • OpenAIEndpoint
        • OpenAIEndpointDallE
        • OpenAIEndpointRealtime
        • OpenAIEndpointTTS
        • OpenAIEndpointWhisper
        • SambaNovaEndpoint
        • SmartHttpEndpoint
        • TogetherAIEndpoint
        • XAIEndpoint
        • SmartEndpoint.Metrics
        • SmartEndpoint.Response
      • SmartExtensions
      • SmartHub
        • SmartSession.ConvertParameterEventArgs
        • SmartSession.ConvertParameterEventHandler
        • SmartSession.ErrorEventArgs
        • SmartSession.ErrorEventHandler
        • SmartSession.InvokeToolEventArgs
        • SmartSession.InvokeToolEventHandler
        • SmartSession.MessagesEventArgs
        • SmartSession.MessagesEventHandler
      • SmartObject
      • SmartPrompt
        • SmartAgentPrompt
        • SmartParallelPrompt
        • SmartPrompt.Parameter
        • SmartSession.ConvertParameterEventArgs
        • SmartSession.ConvertParameterEventHandler
        • SmartSession.ErrorEventArgs
        • SmartSession.ErrorEventHandler
        • SmartSession.InvokeToolEventArgs
        • SmartSession.InvokeToolEventHandler
        • SmartSession.MessagesEventArgs
        • SmartSession.MessagesEventHandler
      • SmartRealtimeSession
      • SmartSession
        • SmartSession.ConvertParameterEventArgs
        • SmartSession.ConvertParameterEventHandler
        • SmartSession.ErrorEventArgs
        • SmartSession.ErrorEventHandler
        • SmartSession.InvokeToolEventArgs
        • SmartSession.InvokeToolEventHandler
        • SmartSession.Message
        • SmartSession.MessageCollection
        • SmartSession.MessageRole
        • SmartSession.MessagesEventArgs
        • SmartSession.MessagesEventHandler
        • SmartSession.TrimmingStrategy
      • SmartTool
        • SmartTool.IToolProvider
        • SmartTool.ToolAttribute
        • SmartTool.ToolContext
      • Markup
        • MarkupExtensions
      • Controls
        • UVLightOverlay
      • Embeddings
        • EmbeddedDocument
        • Embedding
        • Matches
        • Metadata
      • Helpers
        • ApiKeys
        • Markdown
        • TextTokenizer
      • Services
        • DefaultSessionTrimmingService
        • IDocumentConversionService
          • DefaultDocumentConversionService
        • IEmbeddingGenerationService
          • DefaultEmbeddingGenerationService
          • HuggingFaceEmbeddingGenerationService
        • IEmbeddingStorageService
          • AzureAISearchEmbeddingStorageService
          • ChromaEmbeddingStorageService
          • FileSystemEmbeddingStorageService
          • MemoryEmbeddingStorageService
          • PineconeEmbeddingStorageService
          • QdrantEmbeddingStorageService
        • IHttpClientService
          • DefaultHttpClientService
        • ILoggerService
          • DefaultLoggerService
        • IOCRService
          • DefaultOCRService
        • IRerankingService
          • DefaultRerankingService
          • LocalAIRerankingService
          • PineconeRerankingService
        • ISessionTrimmingService
          • DefaultSessionTrimmingService
        • ITextSplitterService
          • RecursiveCharacterTextSplitterService
          • TextSplitterServiceBase
        • ITokenizerService
          • DefaultTokenizerService
        • IWebSearchService
          • BingWebSearchService
          • BraveWebSearchService
          • GoogleWebSearchService
      • Tools
        • ArxivTools
        • ChartJS3Tools
        • DatabaseTools
        • DataTableFilterTools
        • DocumentSearchTools
        • DocumentTools
        • FullCalendarTools
        • IToolsContainer
        • MathTools
        • ToolsContainer
        • UtilityTools
        • WebSearchTools
    • Built-in Services
      • IOCRService
      • ILoggerService
      • ITextSplitterService
      • ITokenizerService
      • IHttpClientService
      • IWebSearchService
      • IRerankingService
      • ISessionTrimmingService
      • IDocumentConversionService
      • IEmbeddingStorageService
      • IEmbeddingGenerationService
    • Built-in SmartTools
      • ToolsContainer
      • MathTools
      • UtilityTools
      • DatabaseTools
      • DocumentTools
      • DocumentSearchTools
      • WebSearchTools
      • ChartJS3Tools
      • FullCalendarTools
    • Built-in SmartAdapters
      • SmartAdapter
      • SmartAudioTTSAdapter
      • SmartAudioWhisperAdapter
      • SmartCalendarAdapter
      • SmartChartAdapter
      • SmartChartJS3Adapter
      • SmartChatBoxAdapter
      • SmartComboBoxAdapter
      • SmartCopilotAdapter
      • SmartDataEntryAdapter
      • SmartDocumentAdapter
      • SmartFullCalendarAdapter
      • SmartObjectAdapter
      • SmartPictureBoxAdapter
      • SmartQueryAdapter
      • SmartRealtimeAdapter
      • SmartReportAdapter
      • SmartTextBoxAdapter
    • Configure Services
    • Using SmartHub
    • Using SmartTools
    • Using SmartPrompt
    • Using SmartSession
    • Using SmartRealTimeAdapter
    • UVLightOverlay Control
Powered by GitBook
On this page
  • Properties
  • HasTools
  • Parameters
  • Tools
  • Usage
  • Methods
  • ClearTools()
  • OnAfterInvokeTool(args)
  • OnAfterResponseReceived(args)
  • OnBeforeInvokeTool(args)
  • OnBeforeSendRequest(args)
  • OnConvertParameter(args)
  • OnDone(e)
  • OnError(args)
  • OnPrepareMessages(e)
  • OnStart(e)
  • Events
  • AfterInvokeTool
  • AfterResponseReceived
  • BeforeInvokeTool
  • BeforeSendRequest
  • ConvertParameter
  • Done
  • Error
  • PrepareMessages
  • Start
  • Inherited By
Export as PDF
  1. Components
  2. API

SmartObject

Wisej.AI.SmartObject

PreviousSmartSession.MessagesEventHandlerNextSmartPrompt

Last updated 5 days ago

Namespace: Wisej.AI

Assembly: Wisej.AI (3.5.0.0)

Provides common events and properties to , , and objects.

public class SmartObject : Component
Public Class SmartObject
    Inherits Component

Properties

HasTools

: Gets a value indicating whether the session has tools.

Parameters

: Gets the collection of parameters for the session.

Tools

: Gets the collection of tools available in the session.

Usage

: Gets the usage metrics for the session.

Methods

Clears all tools from the smart prompt.

Parameter
Type
Description

args

Parameter
Type
Description

args

Parameter
Type
Description

args

Parameter
Type
Description

args

Parameter
Type
Description

args

Parameter
Type
Description

e

Parameter
Type
Description

args

Parameter
Type
Description

e

Parameter
Type
Description

e

Events

Inherited By

Name
Description

TODO:

Represents a smart parallel prompt that can execute multiple tasks concurrently.

Represents a SmartHub component that provides AI capabilities to controls within a container.

Represents a smart prompt component that can process and manage prompts with tools and parameters.

Represents a session that manages interactions with a smart hub and endpoint, handling prompts, messages, and tools within the session context.

ClearTools()

OnAfterInvokeTool(args)

Raises the event.

The instance containing the event data.

OnAfterResponseReceived(args)

Raises the event.

The instance containing the event data.

OnBeforeInvokeTool(args)

Raises the event.

The instance containing the event data.

OnBeforeSendRequest(args)

Raises the event.

The instance containing the event data.

OnConvertParameter(args)

Raises the event.

The instance containing the event data.

OnDone(e)

Raises the event.

An that contains the event data.

OnError(args)

Raises the event.

The instance containing the event data.

OnPrepareMessages(e)

Raises the event.

An that contains the event data.

OnStart(e)

Raises the event.

An that contains the event data.

AfterInvokeTool

Occurs after a tool is invoked.

AfterResponseReceived

Occurs after a response is received.

BeforeInvokeTool

Occurs before a tool is invoked.

BeforeSendRequest

Occurs before a request is sent.

ConvertParameter

Occurs when a parameter needs to be converted.

Done

Occurs when the session is done processing a question.

Error

Occurs when an error is encountered.

PrepareMessages

Occurs after the messages have been prepared and before they are send to the AI.

Start

Occurs when the session starts processing a question.

InvokeToolEventHandler
MessagesEventHandler
InvokeToolEventHandler
MessagesEventHandler
ConvertParameterEventHandler
EventHandler
ErrorEventHandler
MessagesEventHandler
EventHandler
AfterInvokeTool
AfterResponseReceived
BeforeInvokeTool
BeforeSendRequest
ConvertParameter
Done
Error
PrepareMessages
Start
InvokeToolEventArgs
InvokeToolEventArgs
MessagesEventArgs
MessagesEventArgs
InvokeToolEventArgs
InvokeToolEventArgs
MessagesEventArgs
MessagesEventArgs
ConvertParameterEventArgs
ConvertParameterEventArgs
EventArgs
EventArgs
ErrorEventArgs
ErrorEventArgs
MessagesEventArgs
MessagesEventArgs
EventArgs
EventArgs
SmartAgentPrompt
SmartParallelPrompt
SmartHub
SmartPrompt
SmartRealtimeSession
SmartSession
SmartPrompt
SmartSession
SmartHub
Boolean
ParameterCollection
ToolCollection
Metrics