OpenAI Connector

Splunk Community

OpenAI Connector

OpenAI Connector
An application that calls OpenAI using the result of a Splunk search command and sends a prompt # Pre-work - install python-dotenv $SPLUNK_HOME/bin/splunk cmd python3 -m pip install python-dotenv - update splunk_app_for_openai/bin/.env update env file ``` OPENAI_API_KEY= OPENAI_MODEL=gpt-4o-mini #select prefer model OPENAI_API_BASE=https://api.openai.com/v1 ``` # how to use | makeresults | eval question='What is MITRE ATT&CK?' | callopenai prompt='{question}' # other if you have any question, please feel to free below repo. https://github.com/saeoshi/splunk_app_for_openai
0 topics and 0 replies mentioned OpenAI Connector in
Latest Topics
No posts to display.
Latest Replies
No posts to display.
Top Topics
No posts to display.
My Topics
No posts to display.