Prerequisites
- A SambaCloud account
- A SambaNova API key
- A Linkup account and API key
- Python 3.9 or later
Installation and setup
1
Clone the repository
2
Create a virtual environment
3
Install dependencies
Install from the requirements file:Or install packages directly:
Pin these versions. The example notebook is tested against them and re-pins
them in its first code cell, so an unpinned install is overwritten when you
run the notebook.
Set environment variables
Create a.env file in the project directory with your API keys:
The example notebook assigns both keys inline in its API key cell, which overrides
anything you set here. To run the notebook, replace the placeholder values in that
cell with your own keys. The
.env and export methods above apply when you adapt
the code outside the notebook.Run the example
Open and run the example notebook in the Linkup integration example on GitHub.Linkup documentation
For more information about Linkup, see the official Linkup documentation.Troubleshooting
ModuleNotFoundError: No module named 'linkup'
ModuleNotFoundError: No module named 'linkup'
The distribution is named
linkup-sdk but the import module is linkup. Install
the SDK with pip install linkup-sdk==0.9.0 and verify the virtual environment is active.Connection error or timeout
Connection error or timeout
Verify network access to
api.linkup.so and api.sambanova.ai. Check firewall rules.
