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

@empiricalrun/llm

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empiricalrun/llm - npm Package Compare versions

Comparing version 0.9.24 to 0.9.25

6

CHANGELOG.md
# @empiricalrun/llm
## 0.9.25
### Patch Changes
- 3eb7547: feat: added support for authorization using API key in point api
## 0.9.24

@@ -4,0 +10,0 @@

8

dist/vision/point/index.js

@@ -12,3 +12,3 @@ "use strict";

const cache_1 = require("./cache");
const API_BASE_URL = process.env.VISION_MODEL_ENDPOINT;
const API_BASE_URL = "https://api.empirical.run/vision";
/**

@@ -121,3 +121,6 @@ * Call the vision model to get the coordinates for a prompt. Set `useCache` to

async function getLlmResponse(base64Image, prompt) {
const url = `${API_BASE_URL}/predict`;
const url = `${API_BASE_URL}/coordinates`;
if (!process.env.EMPIRICAL_API_KEY) {
throw new Error("EMPIRICAL_API_KEY is not set. Please set this environment variable.");
}
const response = await (0, async_retry_1.default)(async () => {

@@ -128,2 +131,3 @@ const response = await fetch(url, {

"Content-Type": "application/json",
Authorization: `${process.env.EMPIRICAL_API_KEY}`,
},

@@ -130,0 +134,0 @@ body: JSON.stringify({

{
"name": "@empiricalrun/llm",
"version": "0.9.24",
"version": "0.9.25",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "exports": {

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