Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@memberjunction/ai-openai

Package Overview
Dependencies
Maintainers
4
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@memberjunction/ai-openai - npm Package Compare versions

Comparing version 0.9.15 to 0.9.16

dist/models/embeddingModels.types.d.ts

3

dist/models/openAI.d.ts

@@ -1,2 +0,2 @@

import { BaseLLM, ChatMessage, ChatParams, ChatResult, ClassifyParams, ClassifyResult, SummarizeParams, SummarizeResult } from "@memberjunction/ai";
import { BaseLLM, ChatMessage, ChatParams, ChatResult, ClassifyParams, ClassifyResult, EmbedParams, EmbedResult, SummarizeParams, SummarizeResult } from "@memberjunction/ai";
import { OpenAI } from "openai";

@@ -7,2 +7,3 @@ import { ChatCompletionMessageParam } from "openai/resources";

constructor(apiKey: string);
EmbedText(params: EmbedParams): Promise<EmbedResult>;
ChatCompletion(params: ChatParams): Promise<ChatResult>;

@@ -9,0 +10,0 @@ SummarizeText(params: SummarizeParams): Promise<SummarizeResult>;

@@ -22,2 +22,5 @@ "use strict";

}
async EmbedText(params) {
throw new Error("Method not implemented.");
}
async ChatCompletion(params) {

@@ -24,0 +27,0 @@ const messages = this.ConvertMJToOpenAIChatMessages(params.messages);

{
"name": "@memberjunction/ai-openai",
"version": "0.9.15",
"version": "0.9.16",
"description": "MemberJunction Wrapper for OpenAI AI Models",

@@ -18,2 +18,3 @@ "main": "dist/index.js",

"devDependencies": {
"openai": "^3.2.1",
"ts-node-dev": "^2.0.0",

@@ -23,6 +24,6 @@ "typescript": "^5.3.3"

"dependencies": {
"@memberjunction/ai": "^0.9.156",
"@memberjunction/global": "^0.9.148",
"@memberjunction/ai": "^0.9.159",
"@memberjunction/global": "^0.9.152",
"openai": "^4.28.4"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc