-
Notifications
You must be signed in to change notification settings - Fork 1
WIP: OpenAI connector doc draft and index entries #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughAdds an OpenAI connector documentation page and updates documentation indexes and release notes to include the new connector; no code or runtime behavior changes. Changes
Sequence Diagram(s)(omitted — changes are documentation additions and indexing updates, not new runtime control flow) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @baton/openai.mdx:
- Around line 35-37: The link under the "OpenAI Admin Key" section points to an
inaccessible Admin API docs URL; update the markdown link target for the OpenAI
Admin Key reference (the line containing the [View the documentation] anchor) to
the correct public API keys docs URL (for example replace the href with
https://platform.openai.com/docs/api-keys) so the documentation link is
accessible.
🧹 Nitpick comments (4)
baton/_release-notes.mdx (1)
6-6: Clarify the purpose of this comment.The JSX comment
{/* OpenAI */}appears orphaned and isn't associated with any specific release note entry. Given the PR is marked WIP and notes "Do not merge until OpenAI connector is out of catalog validation," this may be a placeholder for a future announcement.Consider either:
- Removing this comment until the connector is ready to be announced
- Moving it to the appropriate release note section where OpenAI will be featured
- Adding a TODO comment to clarify its purpose
baton/intro.mdx (1)
317-317: Verify the category placement is appropriate.OpenAI is categorized under "Collaboration and productivity" alongside tools like Asana, Slack, Notion, and Zoom. While OpenAI can be used for productivity, it's primarily an AI/ML platform. Consider whether a different category might be more appropriate, such as:
- Developer tools (where AI coding assistants might fit)
- A dedicated AI/ML category if more AI connectors are planned
That said, if OpenAI is being positioned for its ChatGPT Enterprise/Teams collaboration features, the current placement may be appropriate.
baton/openai.mdx (2)
133-150: Consider clarifying the boolean value for BATON_PROVISIONING.In the Kubernetes Secret's
stringDatasection,BATON_PROVISIONING: trueis set as a string value. While Kubernetes will handle this correctly, for clarity consider:
- Adding a comment explaining that this should be the string
"true"or omitted if provisioning is not desired- Confirming whether the connector expects the string
"true"or a boolean valueAlso, ensure the configuration variable names match what the actual connector expects.
💡 Suggested improvement for clarity
# Optional: include if you want ConductorOne to provision access using this connector - BATON_PROVISIONING: true + BATON_PROVISIONING: "true" # Set to "true" to enable provisioning, or omit this line to disable
177-177: Avoid using the:latesttag in production deployments.The deployment manifest uses
ghcr.io/conductorone/baton-openai:latest, which is not recommended for production environments because:
- The
:latesttag can change unexpectedly, leading to inconsistent deployments- It makes rollbacks difficult
- It's harder to track which version is running
Consider pinning to a specific version tag (e.g.,
v1.0.0) once the connector is released from beta.📌 Recommended approach
containers: - name: baton-openai - image: ghcr.io/conductorone/baton-openai:latest + image: ghcr.io/conductorone/baton-openai:v1.0.0 # Replace with specific version imagePullPolicy: IfNotPresentAdditionally, when using a specific version tag, you can change
imagePullPolicytoAlwaysif you want to ensure the image is pulled on each deployment, or keepIfNotPresentfor better performance with pinned versions.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
baton/_release-notes.mdxbaton/intro.mdxbaton/openai.mdxdocs.json
🔇 Additional comments (6)
docs.json (1)
365-365: LGTM!The OpenAI connector entry is correctly placed in alphabetical order in the connector library navigation.
baton/intro.mdx (2)
191-192: LGTM!The OpenAI connector is correctly positioned alphabetically in the A-Z list between OneLogin and OpenSearch.
273-273: LGTM!Adding OpenAI to the "New this month" section is appropriate for a newly introduced connector.
baton/openai.mdx (3)
9-13: LGTM!The beta warning is clear and appropriate, setting proper expectations for users about the connector's maturity level while encouraging feedback.
15-28: LGTM!The capabilities table is clear and comprehensive, properly documenting what resources can be synced and provisioned. The additional functionality note about account provisioning/deprovisioning is helpful.
48-201: LGTM!The dual deployment options (cloud-hosted and self-hosted) are well-documented with clear step-by-step instructions. The structure is consistent with other connector documentation and provides users with comprehensive guidance for both deployment methods.
|
Merging this since the connector has been moved out of validation status https://github.com/ductone/c1/pull/12971 |
Do not merge until OpenAI connector is out of catalog validation.
Summary by CodeRabbit
New Features
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.