klotz: api*

Bookmarks on this page are managed by an admin user.

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. The api_base key can be used to point the OpenAI client library at a different API endpoint.
    2023-10-03 Tags: , , , by klotz
  2. 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)

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: api

About - Propulsed by SemanticScuttle