AI
Poly Community can translate posts into the language of a member, and find posts by what they mean rather than by their words. Both run on an AI provider of your choice, on a key of your own account there, so you pay the provider directly and choose what it costs. Nothing runs until you set a provider up and turn a use on.

Setting up a provider
- Go to Poly Community → Settings → Services → AI.
- Under All providers, pick the one you have an account with:
- OpenAI, Anthropic or Google Gemini: a key from its console, platform.openai.com, platform.claude.com or Google AI Studio.
- Clouds that speak the OpenAI API, such as OpenRouter (many models, one key), Mistral AI, Groq, DeepSeek, xAI, Azure OpenAI, Together AI, Fireworks AI, Cerebras or Hugging Face: their key, and for Azure the address of your resource.
- Your own server, such as Ollama, LM Studio, vLLM or LocalAI: its address. Tick the box under Where it is for localhost or an address inside your network, one only the server of your site reaches: the models then run where you run them, and nothing leaves.
- Another service: any service that speaks the OpenAI API, by its address, its key and the names of its models.
- Enter what its dialog asks, and press Check and save. Your site asks the provider once, and keeps the key only if it answers.

A provider set up shows under Providers set up with the end of its key or its address, and what uses it. Change opens its dialog again, where Remove deletes its key and address from your site. Keys are kept sealed in your site and used by Poly Community alone: another plugin on the site never reads them.
What uses it
Under What uses it, each use has its own provider and model:

- Translate posts, with Translates with any provider set up and Its model from the models of that provider. Each translation is kept, so a post is paid for once in each language, until it changes.
- Search by meaning, with Reads posts with OpenAI or Gemini, the only two that read posts for search. Each post is read once, so search finds a post that says the same thing with other words. Turning it on, or changing its provider or model, reads every post again, up to 5,000 of the newest. With small models that costs a few cents for thousands of posts.
Leave Its model empty for the small, cheap model the provider suggests.
What members see
Translate is in the ⋯ of every post for members while Translate posts is on. It puts the post in the language the member reads the site in, with a line under it, Translated by AI · Show original. Show original brings the words of the post back, and so does pressing Translate again. A translation is kept for each language, so the next member who asks for the same one gets it at once and it costs nothing more. It is made again only once the post changes. Visitors do not see Translate.

Close in meaning is a section of the search results while Search by meaning is on: posts that say what the member searched for with different words, which a search by the words alone did not find. It follows the other sections under All. In a space, it holds the posts of that space.

When a limit is reached or the provider does not answer, Translate says so in a message and the search shows its other results without the section.
Limits and what it costs
- The requests of a member a day: 30 by default. 0 for no limit.
- The site requests a day: 2,000 by default, for every member together. 0 for no limit.
Past a limit, the use waits until the next day. Usage, the last 30 days shows the requests of each use, the tokens sent and received, and what they cost in US dollars, as the provider prices them.
For developers
The Translate item is an item of the post menu, translate, which a plugin can move or take out with poly_community_register_ui, as Buttons and menus shows. The section of the search page is data the page draws with its template, like every page of the community: see Pages drawn from data, the way to change or add what a page shows, for a person or a coding agent.
What is sent where
The text of the posts to translate or to read, and what a member types into a search by meaning, go to the provider you chose. Never who wrote them. Settings → Privacy lists it for your privacy policy, and each provider dialog links its terms and privacy policy.