Home / Semantic Programming

Semantic Programming

Prompt Engineering at Writener

Behind the scenes at Writener, we’re harnessing the power of Semantic Programming. This cutting-edge approach to Prompt Engineering utilizes natural language to craft precise, high-quality outputs from generative language models. It’s the secret ingredient in our unique blend, fueling the exceptional results you receive from Writener. Semantic Programming enables an unprecedented level of intuitive interaction with AI, and you get to experience this breakthrough technology firsthand with Writener.

“Semantic Programming” refers to a specific programming language based on natural language, through which it is possible to engineer a BOT (or semantic program) within the input of a generative language model (for example, ChatGPT or Claude) with the aim of obtaining a specific desired output.

It is based on the concepts of “semantic cloud“, which represents a generic knowledge linked to the connections between words (the nodes of the neural network); “semantic funnel“, which represents the selection of knowledge and guides the machine towards the correct answer; and “inverse semantic funnel“, which represents a technique of evoking knowledge. These three fundamental concepts, when appropriately used in prompt design, can force the semantic flow of the neural network to select suitable knowledge and channel it towards a correct answer.

Semantic Programming ensures that the task is understandable to ChatGPT’s algorithm, takes into account the semantic flow of the neural network, and forces the machine to select the specific knowledge necessary to solve the problem.

Semantic Programming can be seen as a scientific evolution of prompt engineering, but it differs in that the latter focuses on creating specific and relevant prompts to guide the language model in the right direction, whereas semantic programming is primarily concerned with creating a bot within a chat session with ChatGPT (or another equivalent generative language model). Furthermore, it does not require any programming skills.