Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Actions for OpenAI GPTs to let ChatGPT inspect the Apache Sling / AEM JCR structure

License

NotificationsYou must be signed in to change notification settings

stoerr/JCRActionsForGPT

Repository files navigation

IssuesStargazersMIT License


Logo

JCR Repository access actions for GPTs

This provides the action (incl. an OpenAPI declaration) useable for GPTs to read the JCR content repository in Apache Sling / AEM on configured paths.
Explore the docs »

View Demo ·Report Bug ·Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Product Name Screen Shot

This is an OSGI bundle deployable onApache Sling /Adobe Experience Manager (AEM)that provides the actions for aGPT to read the JCR content repository on configured paths. You can use it to direct ChatGPT to read the properties of(anonymously readable) JCR nodes and to read the contents of stored files, and answer questions, do summary tasks etc.

This is currently just done as minimal project so that it does what I need it to do. If it doesn't work for youplease contact me - if there is somebody who is interested and willing to provide feedback and share his experiences,I'll be happy to help and extend it!

Preconditions: To use it you have to be a paying OpenAI ChatGPT customer,since otherwise GPTs aren't available for you.

Configuration: There is an OSGI configuration "ChatGPT JCR Actions" thatconfigures the paths to be read, and an required API key for authentication.The API key should be a long random keythat you can paste both into the configuration and into the authentication section of the GPT, and is responsible forthe security. Additionally there is a number of regular expressions at which read access is permitted. The full path hasto match any of the keys.

To be reachable from ChatGPT it needs to be accessible from the internet via HTTPS. The easiest way I know is usingserveo.net. You can start it with:

ssh -T -R yourdomain.serveo.net:80:localhost:8080 serveo.net

Replaceyourdomain with a prefix of your choice that contains some randomness to avoid collisions and replace 8080with the port you are using for Apache Sling. The servletonly works if it was configured and is available at the URL /bin/public/gpt/jcractions .

Configure it as actions from a GPT: generally that works likeGPT creation for Co-Developer GPT Engine ,but you have to use the import URLhttps://yourdomain.serveo.net/bin/gpt/jcractions.yaml.You can either create a GPT that just has this as actions, oradd this as additional actions to a Co-Developer GPT.IMPORTANT: you have to set the authentication type to "API Key", and paste the same API key that you configured in theOSGI configuration into the API key field and set Auth Type to Custom with custom header nameX-JcrActions-Api-Key.You have to repeat that if you re-import the actions, or ChatGPT gives an empty answer with ClientError (which is a bugin ChatGPT).

CAUTION: if you do it like that it makes your local server reachable from the internet atyourdomain.serveo.net! Ifyou have proprietary stuff on your server and / or use admin/admin as password, and that worries you, please configure areverse proxy or something like that so that only that URL /bin/public/gpt/jcractions is reachable from the internet.

(back to top)

Getting Started

Prerequisites

Installation

(back to top)

Usage

(back to top)

Roadmap

See theopen issues for a full list of proposed features (andknown issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Anycontributions you make aregreatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can alsosimply open an issue with the tag "enhancement".Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. SeeLICENSE.txt for more information.

(back to top)

Contact

Hans-Peter Störr -www.stoerr.net ,@HansPeterStoerr

Project Link:https://github.com/stoerr/JCRActionsForGPT

(back to top)

About

Actions for OpenAI GPTs to let ChatGPT inspect the Apache Sling / AEM JCR structure

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp