Tags: openai* + api*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. 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)
  2. llama-cpp-python offers a web server which aims to act as a drop-in replacement for the OpenAI API. This allows you to use llama.cpp compatible models with any OpenAI compatible client (language libraries, services, etc).
    2023-06-09 Tags: , , , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "openai+api"

About - Propulsed by SemanticScuttle