Support ChatGPT/Open Assistant Plugins via .well-known/ai-plugin.json #7501
Replies: 5 comments 7 replies
-
This definitely sounds like an interesting use case for an extension. Although there are concerns about OpenAI business model and practices, ChatGPT plugins seem like the easiest approach to integrate LLMs into CKAN search. I guess that initially that would focus on dataset search, describing the |
Beta Was this translation helpful? Give feedback.
-
Hi, @stefangrotz thanks for the suggestion. Adding ChatGPT to CKAN is a leap forward from UX perspective. ChatGPT model is not a new technology, it was there for years, the latest addition that made it so in demand was the addition of the chatbot. Enquiring data using a human language is a whole new level of accessibility. Do you have plans to integrate ChatGPT with your portal or have people who'd be interested to test how it works? If we're working with publicly available data I don't sense issues with privacy, am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Open Assistant (https://open-assistant.io/) now also supports plugins. I started to experiment with CKAN plugins for a local open data portal using these two files:
Right now it is working poorly, but once in a while it is able to make the right calls. OA has a much weaker language model than OpenAI though, at least right now. Adapting these files for ChatGPT should be relatively easy, once they make their plugin system public.
|
Beta Was this translation helpful? Give feedback.
-
Okay I did some more experiments with the plugin system. Quite often it makes the right call and then is unable to interpret it like this: I discussed this with the developers of Open Assistant. They say to really make it work, you have to include text prompting into the API response to make it easier to understand for a language model. This means to use Plugins in CKAN a completely new API endpoint would be necessary, one that gives more context to the data. I don't know if the Plugin system of ChatGPT is more capable. If someone has access: it would be cool if you could test my plugin. |
Beta Was this translation helpful? Give feedback.
-
ChatGPT now supports custom "GPTs" with custom knowledge and capabilities: https://openai.com/blog/introducing-gpts I used this API definition file to access the Open Data Portal Karlsruhe, and it worked quite well: |
Beta Was this translation helpful? Give feedback.
-
ChatGPT is right now starting to roll out a new Plugin system that allows it to access information from external APIs.
Here are the details:
You basically have to create the file
yourdomain.com/.well-known/ai-plugin.json
Where you describe your API in human language.
It would be cool if admins would be able to easily create a file like this for their portal, because this would enable you to search through a portal using human language instead of SPARQL.
EDIT: Open Assistant is now also supporting this plugin structure.
Beta Was this translation helpful? Give feedback.
All reactions