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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...