Create chatbot and AI agent workflows with unified access.
APACHE-2.0 License
Bot releases are visible (Hide)
ChatProvider
enum simplifies the selecting providers.from intelli.function.chatbot import ChatProvider
# check available chatbot providers
for provider in ChatProvider:
print(provider.name)
Published by intelligentnode 8 months ago
KerasAgent
.gemma_2b_en
, gemma_instruct_2b_en
, gemma_7b_en
, gemma_instruct_7b_en
, mistral_7b_en
, mistral_instruct_7b_en
.To use the new Keras Agent, instantiate the KerasAgent
class with the appropriate parameters:
from intelli.flow.agents.kagent import KerasAgent
# Setting up a Gemma agent
gemma_params = {
"model": "gemma_instruct_2b_en",
"max_length": 200
}
gemma_agent = KerasAgent(agent_type="text",
mission="writing assistant",
model_params=gemma_params,
log=True)
Prepare the tasks with the user instructions:
from intelli.flow.input.task_input import TextTaskInput
from intelli.flow.tasks.task import Task
# Sample task to write blog post
task1 = Task(
TextTaskInput("write blog post about electric cars"), gemma_agent, log=True
)
# Create more tasks as needed
Execute tasks using SequenceFlow
. The example below shows a single task, but you can include additional tasks for text, image, or vision:
from intelli.flow.sequence_flow import SequenceFlow
# Start SequenceFlow
flow = SequenceFlow([task1], log=True)
final_result = flow.start()
Fore more details check the docs.
Published by intelligentnode 8 months ago
flow.generate_graph_img()
Add remote speech model, allowing to generate synthesised speeches from openai or google models.
Fix a minor bug in the semantic search functionality.
Published by intelligentnode 8 months ago
@basilmusa @Barqawiz
Published by intelligentnode 8 months ago
Create chatbots capable of utilizing various AI backends without altering your core codebase. This feature supports OpenAI, Mistral, and Gemini, simplifying the process of integrating intelligent conversational agents into your applications.
Enable your applications to interact with documents through chat.
Create and manage flows of tasks executed by different AI models, enhancing automation and efficiency.
To build async flows with multiple paths, refer to the flow tutorial.