Introduction
The OpenAI SDK can be used to interact with the Linkup API, to generate responses.We are only compatible with Responses API.
Chat Completions API is NOT supported at the moment.
Chat Completions API is NOT supported at the moment.
Quickstart
Get started with the OpenAI SDK in less than 5 minutes!- Python
- TypeScript
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| model | string | Type of search to perform “linkup-standard” or “linkup-deep” | Required |
Model
Themodel field is used to select the type of search you want to perform:
- linkup-standard: the search will be straightforward and fast, suited for relatively simple queries (e.g. “What’s the weather in Paris today?”)
- linkup-deep: the search will use an agentic workflow, which makes it in general slower, but it will be able to solve more complex queries (e.g. “What is the company profile of LangChain accross the last few years, and how does it compare to its concurrents?”)
Using structured output (advanced)
- Python
- TypeScript
Facing issues? Reach out to our engineering team at [email protected] or via our Discord or book a 15 minutes call with a member of our technical team.