A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/providers/prolog/ below:

Website Navigation


SWI-Prolog | 🦜️🔗 LangChain

SWI-Prolog

SWI-Prolog offers a comprehensive free Prolog environment.

Installation and Setup

Once SWI-Prolog has been installed, install lanchain-prolog using pip:

pip install langchain-prolog
Tools

The PrologTool class allows the generation of langchain tools that use Prolog rules to generate answers.

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4