class Langchain
- Langchain
- Reference
- Object
Defined in:
langchain.crConstant Summary
-
QA_PATH =
"/qa"
Class Method Summary
- .client(base_url : String, port : Int32) : HTTP::Client
- .client(uri : URI) : HTTP::Client
- .ghostwrite(client : HTTP::Client, token : String, text : String, sales_rep : String, prospect : String, company : String, company_information : String, text_type : String = "html", artifact : String = "email")
- .ghostwrite_path(artifact : String)
- .qa(client : HTTP::Client, token : String, text : String, prompt : String, text_type : String = "html", return_source_documents : Bool = false)
Class Method Detail
def self.ghostwrite(client : HTTP::Client, token : String, text : String, sales_rep : String, prospect : String, company : String, company_information : String, text_type : String = "html", artifact : String = "email")
#
def self.qa(client : HTTP::Client, token : String, text : String, prompt : String, text_type : String = "html", return_source_documents : Bool = false)
#