Skip to content

docs: Document AI provider integrations (Anthropic, OpenAI, Google, Ollama)#151

Draft
promptless[bot] wants to merge 1 commit intomainfrom
promptless/ai-integrations-config
Draft

docs: Document AI provider integrations (Anthropic, OpenAI, Google, Ollama)#151
promptless[bot] wants to merge 1 commit intomainfrom
promptless/ai-integrations-config

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Jan 27, 2026

Open this suggestion in Promptless to view citations and reasoning process

Adds documentation for the new AI provider integrations to the integrations-options.md reference page. The new integrations allow users to configure API keys for Anthropic, OpenAI, and Google Gemini AI services, as well as specify a custom base URL for local Ollama instances. Each integration can be configured via the config file or corresponding environment variables.

Trigger Events

doc-detective/common PR #154: feat: port generate() and ollama integration from PR #73

Promptless Research (1 GitHub PR)

Agent Response

I've completed my review of PR #154 and created a documentation update. Here's a summary:

Summary

PR #154 adds multi-provider AI generation capabilities to Doc Detective, supporting Anthropic, OpenAI, Google Gemini, and local Ollama instances. I updated the integrations-options reference documentation to document these new configuration options.

Documentation Changes

Updated docs/references/schemas/integrations-options.md:

  • Added documentation for four new AI provider integrations:
    • anthropic - Configure Anthropic API key (or use ANTHROPIC_API_KEY env var)
    • openAi - Configure OpenAI API key (or use OPENAI_API_KEY env var)
    • google - Configure Google Gemini API key (or use GOOGLE_GENERATIVE_AI_API_KEY env var)
    • ollama - Configure base URL for local Ollama instances (defaults to http://localhost:11434/api)
  • Added JSON examples showing how to configure each provider

The update follows the existing documentation pattern in the file and integrates seamlessly with the existing openApi and docDetectiveApi integration options.


Note: The PR also introduces significant functionality for AI text generation (generate() function) and Ollama management (Docker container handling, GPU detection, model pulling). If these features are intended to be exposed to end users (beyond just configuration), additional user-facing documentation such as a "Using AI features" guide or action documentation may be warranted once the feature is finalized.


Help us improve Promptless — If this suggestion missed the mark, please share quick feedback.

If you want Promptless to make further changes on this PR, feel free to leave a comment tagging Promptless (It won't show up in the user drop down but Promptless will get it!)

:-- | :-- | :-- | :--
openApi | array of unknown | Optional. No description provided. |
docDetectiveApi | object([Doc Detective Orchestration API](/docs/references/schemas/doc-detective-orchestration-api)) | Optional. Configuration for Doc Detective Orchestration API integration. |
anthropic | object | Optional. Configuration for Anthropic AI integration. |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Based on new AI provider integrations added in src/ai.ts, src/ollama.ts, and schema updates in dist/schemas/config_v3.schema.json. The PR adds support for Anthropic, OpenAI, Google Gemini, and local Ollama instances with corresponding config properties and environment variable fallbacks.
View source

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 27, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants