LangChain.Providers.OpenAI (langchainex v0.1.1)

A module for interacting with OpenAI's API

Link to this section Summary

Functions

a simple call to respond to a simple text input prompt

a call to respond to an entire chat session containing multiple PromptTemplates

Link to this section Functions

Link to this function

call(model, prompt)

a simple call to respond to a simple text input prompt

Link to this function

chat(model, msgs)

a call to respond to an entire chat session containing multiple PromptTemplates

Link to this function

chats_to_openai(chats)

Link to this function

openai_to_chats(choices)