AI Tools for Developers
Opensolr AI Search also gives the Drupal AI module building blocks that any AI agent or chat bot of your site can use, not only the Opensolr assistant.
The Opensolr provider
An AI provider named Opensolr, with two kinds of work, both done on the Opensolr API servers:
- Chat: answers chats, streamed or not, follows a system message, returns JSON or a structured answer, and calls tools.
- Embeddings: turns text into the same meaning vectors your Opensolr Index uses.
The same module registers your Opensolr Index as a vector database for Drupal AI Search: see Drupal AI Search.
Twelve Opensolr tools
In the opensolr group of AI function calls:
| Tool | What it does |
|---|---|
| Search this site | Passages from your Opensolr Index with their links; PDF results down to the page. |
| Local time | The date and time at a place, coordinates or an IP address. |
| Exchange rates | Rates between currencies, today or on a past day. |
| VAT rates | Standard and reduced rates of European countries and the United Kingdom. |
| VAT number check | Whether an EU or UK VAT number is valid, and who it belongs to. |
| Distance between places | Straight-line distance in kilometres and miles. |
| Postal codes | Codes and the addresses that have them. |
| Find a place or coordinates | A place or address with its coordinates, or what is at given coordinates. |
| Where an IP address is | Country, region, city and time zone. |
| Language and sentiment | The language of a text and whether it reads positive, negative or neutral. |
| Describe a picture | What a picture of your site shows. |
| Read a document | The text of a document of your site. |
The Assistant tab lists them under Opensolr tools. The same lookups are open to any application through the Opensolr API: see Facts for chat bots and apps.
Their work counts on your Opensolr plan the same way as the assistant's: see What the assistant costs and API Quota.
Site Assistant
- Site Assistant
- Set Up
- Commands
- Translate
- Instructions and Limits
- Stats
- History
- What It Costs
- AI Tools for Developers