1
2
Set Up Your Environment
First, let’s import the necessary libraries and set up our environment:Configure your API keys by setting environment variables or storing them securely in your application:Initialize the Cerebras client:
3
Set Up LinkUp Search Function
Create a simple function to search the web with LinkUp:
4
Define the Search Tool
Tell Cerebras about the search function it can use:
5
Use It
Now you can chat with web search capabilities:
6
Try Different Questions
Test with different types of questions:
Facing issues? Reach out to our engineering team at support@linkup.so or via our Discord or book a 15 minutes call with a member of our technical team.