Class ThirdwebNebula
- Namespace
- Thirdweb.AI
- Assembly
- Thirdweb.dll
public class ThirdwebNebula
- Inheritance
-
ThirdwebNebula
- Inherited Members
-
Properties
SessionId
public string SessionId { get; }
Property Value
- string
Methods
Chat(List<NebulaChatMessage>, IThirdwebWallet, NebulaContext)
public Task<NebulaChatResult> Chat(List<NebulaChatMessage> messages, IThirdwebWallet wallet = null, NebulaContext context = null)
Parameters
messages
List<NebulaChatMessage>
wallet
IThirdwebWallet
context
NebulaContext
Returns
- Task<NebulaChatResult>
Chat(string, IThirdwebWallet, NebulaContext)
public Task<NebulaChatResult> Chat(string message, IThirdwebWallet wallet = null, NebulaContext context = null)
Parameters
message
string
wallet
IThirdwebWallet
context
NebulaContext
Returns
- Task<NebulaChatResult>
Create(ThirdwebClient, string, string)
public static Task<ThirdwebNebula> Create(ThirdwebClient client, string sessionId = null, string model = "t0-001")
Parameters
client
ThirdwebClient
sessionId
string
model
string
Returns
- Task<ThirdwebNebula>
Execute(List<NebulaChatMessage>, IThirdwebWallet, NebulaContext)
public Task<NebulaExecuteResult> Execute(List<NebulaChatMessage> messages, IThirdwebWallet wallet, NebulaContext context = null)
Parameters
messages
List<NebulaChatMessage>
wallet
IThirdwebWallet
context
NebulaContext
Returns
- Task<NebulaExecuteResult>
Execute(string, IThirdwebWallet, NebulaContext)
public Task<NebulaExecuteResult> Execute(string message, IThirdwebWallet wallet, NebulaContext context = null)
Parameters
message
string
wallet
IThirdwebWallet
context
NebulaContext
Returns
- Task<NebulaExecuteResult>