@future-scholars/llms-api-service
v0.0.8
Published
All in one LLMs API.
Downloads
41
Readme
@future-scholars/llms-api-service
All in one API service for LLMs.
Usage`
import { LLMsAPI } from "@future-scholars/llms-api-service";
const anwser = await LLMsAPI.model("gemini-1.5-flash-latest")
.setSystemInstruction("Please Anwser me in Chinese.")
.setAPIKey("...")
.query("Hello, who are you?");
console.log(anwser);