conva_ai_core 0.0.3 copy "conva_ai_core: ^0.0.3" to clipboard
conva_ai_core: ^0.0.3 copied to clipboard

This is the flutter plugin for using ConvaAI Co-pilots

CONVA.ai from Slang Labs is the world's first Copilot-as-a-Service platform, that allows developers to easily add AI aUgmented eXperiences (AUX) inside their app with the least effort.

Initialization :

ConvaAI.instance.initCopilot(id: "<AssistantID>", key: "<APIKey>", version: "<Version>");

Debugging responses : Conva AI uses generative AI to give you the response to your query. In order for you to understand the reasoning behind the response. We also provide you with AI's reasoning

Non-streaming capability completion call

try {
  ConvaAICapabilityModel completion =
      await ConvaAI.instance.invokeCapability(input: "Hello World");
      print(completion)
} catch (error) {
  print(error)
}

Streaming capability completion call

Stream<ConvaAICapabilityModel> completionStream =
ConvaAI.instance.invokeCapabilityStream(
  input: "Hello World",
);
completionStream.listen(
      (event) {
      print(event)
  },
  onError: (error) {
    print(error);
  },
);

For other integration related information, please visit : https://docs.slanglabs.in/conva.ai-documentation-page/conva.ai-overview

0
likes
0
pub points
26%
popularity

Publisher

verified publisherslanglabs.in

This is the flutter plugin for using ConvaAI Co-pilots

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on conva_ai_core