Splunk Enterprise

ChatGPT

n4w4r
New Member

Hello, I am trying to integrate chatgpt with my dashboard and I am using OpenAPI add on. I am getting the following error code:

"HTTP 404 Not Found -- Could not find object id=TA-openai-api:org_id_default:
ERROR
cannot unpack non-iterable NoneType object"

 

Can anyone help me with this?

Labels (2)
Tags (1)
0 Karma

_JP
Contributor

That error implies that your OpenAPI Org Id was not configured properly during the setup of the ChatGPT 4 Splunk app.

openapi_for_splunk.png

 This app expects to find this info within Splunk's built-in password storage (where it was stored during the setup of this TA)

Here's the python code behind the search command: ChatGPT-4-Splunk/TA-openai-api/bin/openai.py at main · bentleymi/ChatGPT-4-Splunk · GitHub

 

Also, @jkat54 is the author of that particular app.  Just tagging them here if they have any additional suggestions.  See also their session at .conf23.

0 Karma

jkat54
SplunkTrust
SplunkTrust

Thanks for the tag.

Yeah there is some confusion with the latest release because we added the ability to set default api key as well as others and they way we implemented it is causing the issue. 

Basically we need users to enter a default ORG and default KEY but wanted to give them the option to add others as well and yeah I need to rework the setup page.

The screenshots under installation section on GitHub should help clarify

https://github.com/bentleymi/ChatGPT-4-Splunk

 

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...