This AI Entity Framework is a cutting-edge system designed for crafting intelligent agent(s). These agent(s) are not just typical AI entities; they are foundational, adaptable, and capable of underpinning a wide array of applications. π This framework aspires to maximize the benefits of foundational models while minimizing potential harms.
Here, a network of agents G = (V, E) is created based on vector representation of diversity scores taken from the agent(s) repsonse(s) to a prompt. V = {jaccard_index, dot_product, entropy}
Where probablities are calculated from vector = {P(Word|All_Response) for Word in Response} and where an Edge E = |state_t0 * state_T1| <= Threshold for KNN

π§ π Mimicing the theory behind this paper the scope of the bounded space would be 500 words max.
Neuron Architecture to create vector embeddings

π¬π©βπ» Analyze the network of agents and their responses. Change edge update algorithm from KNN to heuristic based so that diversity in connections may happen. Allow random activation functions within and between network layers.

git clone https://github.com/LilaShiba/SND_Agents.git
pip install -r requirements.txt
Installs necessary packages like numpy, openAI, etc, ensuring smooth operation of the framework.
python main.py
Execute this to kickstart your AI agent's journey.
embedding_params = ["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.7]
document_path = 'documents/meowsmeowing.pdf'
db_path = 'chroma_db/agent_snd'
# (name, resource_path, chain_of_thought_bool, [LLM model, chunck size, overlap, creativity], new_course_bool)
testAgent = Agent('agent_snd', db_path, 0, embedding_params, True)
testAgent.start_chat()
# embedding paths
learning_to_act = "chroma_db/agent_ltoa"
system_neural_diversity = "chroma_db/agent_snd"
foundational_models = "chroma_db/agent_foundation"
# llm settings
embedding_params = [
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.9],
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.1],
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.5],
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.9],
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.1],
["facebook-dpr-ctx_encoder-multiset-base", 200, 25, 0.5]
]
# name, path, cot_type, new_bool
agent_specs = [
['agent_ltoa', learning_to_act, 0, True],
['agent_snd', system_neural_diversity, 0, True],
['agent_foundation', foundational_models, 0, True],
['agent_quant', 'documents/VisualizingQuantumCircuitProbability.pdf', 1, False],
['agent_norbert', 'documents/Norman-CognitiveEngineering.pdf', 1, False]
]
test_pack = Pack(agent_specs, embedding_params)

