Create a Gemini API key on https://aistudio.google.com/ Go to ‘Get API key’Copy your API key and enter the API details in the Netpicker AI assistant: API...
How can we help?
Using the Netpicker AI assistant with an OpenAI API key
Create an OpenAI API key on https://platform.openai.com/ Go to Settings -> Project -> API keys Enable at least the /v1/chat/completions endpoint Copy the API key (that...
External Python libraries
To add external libraries for using in the python rules, these are the steps: Modify the docker-compose.override.yml:x-shared-libs: &shared-libs:environment:PYTHONPATH:...
Run real-time commands
Normally with Python rules, you have to have some backups for Netpicker to test your assertion against. First, let’s run a test and see if we have the word “ospf” in the...
Netpicker Test Creator (Custom ChatGPT)
To help network engineers writing Python tests for their use cases, we created a Custom ChatGPT called Netpicker Test Creator. Watch this tutorial for a quick guide:Check it out...
Netpicker test rule syntax
Netpicker allows you to create custom rules (Python unit tests using pytest) to test your network devices. This guide outlines how to write these rules. Creating a Rule A rule in...
Importing Netpicker’s public test repositories
Netpicker offers a collection of test suites based on common CVEs and CIS collections that you can use. This guide shows the steps in importing them into your local netpicker...