View on GitHub

CS7320-AI

Examples for an AI course following the textbook Artificial Intelligence: A Modern Approach by Russell and Norvig.

Chapter 7-9: Knowledge-based Agents

Logical Agents

Knowledge-based agents store facts typically using logic. First-order logic is often performed using the dedicated logic programming language Prolog. Here are two online examples using SWI-Prolog:

Python provides several modules for logic and symbolic mathematics. Here is a short primer for

Large Language Models

Large language models (LLMs) are a type of knowledge-based agents that use natural language rather than logic. They can be used via an API or run locally. Important task are prompt engineering/context engineering. Resources:

Agentic AI

An AI solution that uses a set of specially prompted LLM calls. The solution involves any or all of these:

Video:

Tools:

License

All code and documents in this repository is provided under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License

CC BY-SA 4.0