Reader helps convert any URL into content suitable for LLMs, including automatic image captioning and web search.
The API is split into two functions: 'Read' and 'Search'. Read converts any URL into content suitable for LLMs and returns the LLM-friendly data. Search allows users to input a search query and receives the top five results in a simplified format.
Function calling allows you to more reliably get structured data back from the model. For example, you can:
Create chatbots that answer questions by calling external APIs (e.g. like ChatGPT Plugins)
e.g. define functions like send_email(to: string, body: string), or get_current_weather(location: string, unit: 'celsius' | 'fahrenheit')
Convert natural language into API calls
e.g. convert "Who are my top customers?" to get_customers(min_revenue: int, created_before: string, limit: int) and call your internal API
Extract structured data from text
e.g. define a function called extract_data(name: string, birthday: string), or sql_query(query: string)