The PrologTool class allows the generation of langchain tools that use Prolog rules to generate answers.
Copy
Ask AI
from langchain_prolog import PrologConfig, PrologTool
See a usage example.See the same guide for usage examples of PrologRunnable, which allows the generation
of LangChain runnables that use Prolog rules to generate answers.
Assistant
Responses are generated using AI and may contain mistakes.