chatWithMeta abstract method
Future<AiCompletion>
chatWithMeta({
- required String apiKey,
- required String model,
- required ChatRequest request,
Multi-turn, returning the final turn's reply with why the model stopped and the token counts the provider reported. Every provider call goes through here; chat, complete and completeWithMeta are built on it.
Implementation
Future<AiCompletion> chatWithMeta({
required String apiKey,
required String model,
required ChatRequest request,
});