🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)

🔧 Programmierung 🕛 kürzlich 2 Min Lesezeit
0

Noema – A Declarative AI Programming Library

↗ Quelle (dev.to)
🗣️ Stimme:

Hi everyone!



I'm excited to share an open source contribution to python LLM ecosystem: Noema-Declarative-AI.



Noema is a Python library designed to seamlessly mix Python code and LLM generations in a declarative and intuitive way.



It's built around the ReAct prompting approach, which structures reasoning in the following steps:





  • Question: Define the user input or query.


  • Reflection: Think critically about the question.


  • Observation: Provide observations based on the reflection.


  • Analysis: Formulate an analysis based on observations and reflection.


  • Conclusion: Summarize and synthesize the reasoning process.



Here’s an example:




CODE
from Noema import *

# Create a subject (LLM)
subject = Subject("../Models/Mistral-NeMo-Minitron-8B-Instruct.Q4_K_M.gguf") # Llama cpp model

# Create a way of thinking
class SimpleWayOfThinking(Noesis):

def __init__(self, task):
super().__init__()
self.task = task

# 'description' name is mandatory
def description(self):
"""
You are a simple thinker. You have a task to perform.
Always looking for the best way to perform it.
"""

task:Information = f"{self.task}" # inject information to the LLM
for i in range(2):
step:Information = f"{i}" # inject information to the LLM
reflexion:Sentence = "Providing a reflexion about the task."
consequence:Sentence = "Providing the consequence of the reflexion."
evaluate:Paragraph = "Evaluating the consequence."

conclusion:Paragraph = "Providing a conclusion which is a synthesis of the previous steps."

return conclusion.value # return the conclusion value


swot = SimpleWayOfThinking("Help me to write a poem.")
conclusion = swot.constitute(subject, verbose=True) # execute the way of thinking
print("LLM output:")
print(subject)
print("Conclusion:")
print(conclusion)









Key Features:





  • Programmable prompting: Simplify the process of designing and executing prompts programmatically.


  • Declarative paradigm: Focus on describing what you want to achieve, and let the framework handle the how.


  • ReAct-inspired reasoning: Promote systematic thinking through a structured reasoning process.



This project is fully open source and still in its early stages (not yet production-ready).



I'm eager to hear your thoughts, feedback, and critiques!



Whether you want to challenge the concept, propose potential use cases, or simply discuss the approach, I’d love to engage with anyone interested.



Looking forward to your input! :)

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Hackers Just Poisoned the Rust Supply Chain | Threat Wire
1 Quelle
Hackers Found a Way Into Humanoid Robots | Threat Wire
1 Quelle
Bits und so #1021 (Passwort für Laufwerk)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Noema – A Declarative AI Programming Library

Thematisch verwandte Begriffe: Noema, Declarative, Programming, Library · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...