Class
CopilotDirectClient
Experimental direct HTTP client for Copilot-compatible endpoints.
Inheritance
- Object
- CopilotDirectClient
Remarks
This transport is unsupported and may change or be removed.
Constructors
public CopilotDirectClient(CopilotDirectOptions options) #Initializes a new direct Copilot client with the provided options.
Parameters
- options IntelligenceX.Copilot.Direct.CopilotDirectOptions
- Direct client options.
Methods
public async Task<String> ChatAsync(String prompt, String model, CancellationToken cancellationToken = null) #Returns:
Task<String>Sends a chat request and returns the response text.
Parameters
- prompt System.String
- Prompt text to send.
- model System.String
- Model identifier.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object