View Source AI.OpenAI (fnord v0.5.5)

This module provides functions to interact with the OpenAI API, including getting embeddings and completions.

Summary

Functions

get_completion(openai, model, msgs, tools \\ nil)

get_embedding(openai, model, input)

new(http_options)