Skip to content

Latest commit

 

History

History
1790 lines (1345 loc) · 159 KB

File metadata and controls

1790 lines (1345 loc) · 159 KB

Rows

Overview

Available Operations

createScorersPost

Create

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.createScorersPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    name: "<value>",
    scorerType: "preset",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsCreateScorersPost } from "galileo-generated/funcs/promptsCreateScorersPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsCreateScorersPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    name: "<value>",
    scorerType: "preset",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsCreateScorersPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request models.CreateScorerRequest ✔️ The request object to use for the request.
security operations.CreateScorersPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ScorerResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

updateScorersScorerIdPatch

Update

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.updateScorersScorerIdPatch({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsUpdateScorersScorerIdPatch } from "galileo-generated/funcs/promptsUpdateScorersScorerIdPatch.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsUpdateScorersScorerIdPatch(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsUpdateScorersScorerIdPatch failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.UpdateScorersScorerIdPatchRequest ✔️ The request object to use for the request.
security operations.UpdateScorersScorerIdPatchSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ScorerResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

deleteScorerScorersScorerIdDelete

Delete Scorer

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.deleteScorerScorersScorerIdDelete({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsDeleteScorerScorersScorerIdDelete } from "galileo-generated/funcs/promptsDeleteScorerScorersScorerIdDelete.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsDeleteScorerScorersScorerIdDelete(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsDeleteScorerScorersScorerIdDelete failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.DeleteScorerScorersScorerIdDeleteRequest ✔️ The request object to use for the request.
security operations.DeleteScorerScorersScorerIdDeleteSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.DeleteScorerResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

getScorerScorersScorerIdGet

Get Scorer

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.getScorerScorersScorerIdGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsGetScorerScorersScorerIdGet } from "galileo-generated/funcs/promptsGetScorerScorersScorerIdGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsGetScorerScorersScorerIdGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsGetScorerScorersScorerIdGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.GetScorerScorersScorerIdGetRequest ✔️ The request object to use for the request.
security operations.GetScorerScorersScorerIdGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ScorerResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

createLlmScorerVersionScorersScorerIdVersionLlmPost

Create Llm Scorer Version

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.createLlmScorerVersionScorersScorerIdVersionLlmPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsCreateLlmScorerVersionScorersScorerIdVersionLlmPost } from "galileo-generated/funcs/promptsCreateLlmScorerVersionScorersScorerIdVersionLlmPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsCreateLlmScorerVersionScorersScorerIdVersionLlmPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsCreateLlmScorerVersionScorersScorerIdVersionLlmPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.CreateLlmScorerVersionScorersScorerIdVersionLlmPostRequest ✔️ The request object to use for the request.
security operations.CreateLlmScorerVersionScorersScorerIdVersionLlmPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

validateCodeScorerScorersCodeValidatePost

Validate a code scorer with optional simple input/output test.

Example Usage

import { GalileoGenerated } from "galileo-generated";
import { openAsBlob } from "node:fs";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.validateCodeScorerScorersCodeValidatePost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    file: await openAsBlob("example.file"),
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsValidateCodeScorerScorersCodeValidatePost } from "galileo-generated/funcs/promptsValidateCodeScorerScorersCodeValidatePost.js";
import { openAsBlob } from "node:fs";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsValidateCodeScorerScorersCodeValidatePost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    file: await openAsBlob("example.file"),
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsValidateCodeScorerScorersCodeValidatePost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request models.BodyValidateCodeScorerScorersCodeValidatePost ✔️ The request object to use for the request.
security operations.ValidateCodeScorerScorersCodeValidatePostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ValidateCodeScorerResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

validateCodeScorerLogRecordScorersCodeValidateLogRecordPost

Validate a code scorer using actual log records.

Example Usage

import { GalileoGenerated } from "galileo-generated";
import { openAsBlob } from "node:fs";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.validateCodeScorerLogRecordScorersCodeValidateLogRecordPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    file: await openAsBlob("example.file"),
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsValidateCodeScorerLogRecordScorersCodeValidateLogRecordPost } from "galileo-generated/funcs/promptsValidateCodeScorerLogRecordScorersCodeValidateLogRecordPost.js";
import { openAsBlob } from "node:fs";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsValidateCodeScorerLogRecordScorersCodeValidateLogRecordPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    file: await openAsBlob("example.file"),
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsValidateCodeScorerLogRecordScorersCodeValidateLogRecordPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request models.BodyValidateCodeScorerLogRecordScorersCodeValidateLogRecordPost ✔️ The request object to use for the request.
security operations.ValidateCodeScorerLogRecordScorersCodeValidateLogRecordPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ValidateScorerLogRecordResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

getValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet

Poll for a code-scorer validation task result (returns status/result).

The validation job creates an entry in registered_scorer_task_results (pending) and the runner will PATCH the internal task-results endpoint when it finishes. This GET allows clients to poll the current task result.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.getValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    taskId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsGetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet } from "galileo-generated/funcs/promptsGetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsGetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    taskId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsGetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.GetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGetRequest ✔️ The request object to use for the request.
security operations.GetValidateCodeScorerTaskResultScorersCodeValidateTaskIdGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.RegisteredScorerTaskResultResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

createCodeScorerVersionScorersScorerIdVersionCodePost

Create Code Scorer Version

Example Usage

import { GalileoGenerated } from "galileo-generated";
import { openAsBlob } from "node:fs";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.createCodeScorerVersionScorersScorerIdVersionCodePost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {
      file: await openAsBlob("example.file"),
    },
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsCreateCodeScorerVersionScorersScorerIdVersionCodePost } from "galileo-generated/funcs/promptsCreateCodeScorerVersionScorersScorerIdVersionCodePost.js";
import { openAsBlob } from "node:fs";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsCreateCodeScorerVersionScorersScorerIdVersionCodePost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {
      file: await openAsBlob("example.file"),
    },
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsCreateCodeScorerVersionScorersScorerIdVersionCodePost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.CreateCodeScorerVersionScorersScorerIdVersionCodePostRequest ✔️ The request object to use for the request.
security operations.CreateCodeScorerVersionScorersScorerIdVersionCodePostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

getScorerVersionCodeScorersScorerIdVersionCodeGet

Get Scorer Version Code

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.getScorerVersionCodeScorersScorerIdVersionCodeGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsGetScorerVersionCodeScorersScorerIdVersionCodeGet } from "galileo-generated/funcs/promptsGetScorerVersionCodeScorersScorerIdVersionCodeGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsGetScorerVersionCodeScorersScorerIdVersionCodeGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsGetScorerVersionCodeScorersScorerIdVersionCodeGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.GetScorerVersionCodeScorersScorerIdVersionCodeGetRequest ✔️ The request object to use for the request.
security operations.GetScorerVersionCodeScorersScorerIdVersionCodeGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<any>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

createPresetScorerVersionScorersScorerIdVersionPresetPost

Create a preset scorer version.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.createPresetScorerVersionScorersScorerIdVersionPresetPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsCreatePresetScorerVersionScorersScorerIdVersionPresetPost } from "galileo-generated/funcs/promptsCreatePresetScorerVersionScorersScorerIdVersionPresetPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsCreatePresetScorerVersionScorersScorerIdVersionPresetPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {},
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsCreatePresetScorerVersionScorersScorerIdVersionPresetPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.CreatePresetScorerVersionScorersScorerIdVersionPresetPostRequest ✔️ The request object to use for the request.
security operations.CreatePresetScorerVersionScorersScorerIdVersionPresetPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

createLunaScorerVersionScorersScorerIdVersionLunaPost

Create Luna Scorer Version

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.createLunaScorerVersionScorersScorerIdVersionLunaPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {
      loraTaskId: 603023,
      prompt: "<value>",
    },
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsCreateLunaScorerVersionScorersScorerIdVersionLunaPost } from "galileo-generated/funcs/promptsCreateLunaScorerVersionScorersScorerIdVersionLunaPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsCreateLunaScorerVersionScorersScorerIdVersionLunaPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    body: {
      loraTaskId: 603023,
      prompt: "<value>",
    },
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsCreateLunaScorerVersionScorersScorerIdVersionLunaPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.CreateLunaScorerVersionScorersScorerIdVersionLunaPostRequest ✔️ The request object to use for the request.
security operations.CreateLunaScorerVersionScorersScorerIdVersionLunaPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

listScorersWithFiltersScorersListPost

List Scorers With Filters

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.listScorersWithFiltersScorersListPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    body: {
      filters: [
        {
          name: "creator",
          operator: "eq",
          value: [
            "<value 1>",
          ],
        },
      ],
    },
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsListScorersWithFiltersScorersListPost } from "galileo-generated/funcs/promptsListScorersWithFiltersScorersListPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsListScorersWithFiltersScorersListPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    body: {
      filters: [
        {
          name: "creator",
          operator: "eq",
          value: [
            "<value 1>",
          ],
        },
      ],
    },
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsListScorersWithFiltersScorersListPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.ListScorersWithFiltersScorersListPostRequest ✔️ The request object to use for the request.
security operations.ListScorersWithFiltersScorersListPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ListScorersResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

listTagsScorersTagsGet

List Tags

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.listTagsScorersTagsGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsListTagsScorersTagsGet } from "galileo-generated/funcs/promptsListTagsScorersTagsGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsListTagsScorersTagsGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsListTagsScorersTagsGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
security operations.ListTagsScorersTagsGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<string[]>

Errors

Error Type Status Code Content Type
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

getScorerVersionOrLatestScorersScorerIdVersionGet

Get Scorer Version Or Latest

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.getScorerVersionOrLatestScorersScorerIdVersionGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsGetScorerVersionOrLatestScorersScorerIdVersionGet } from "galileo-generated/funcs/promptsGetScorerVersionOrLatestScorersScorerIdVersionGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsGetScorerVersionOrLatestScorersScorerIdVersionGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsGetScorerVersionOrLatestScorersScorerIdVersionGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.GetScorerVersionOrLatestScorersScorerIdVersionGetRequest ✔️ The request object to use for the request.
security operations.GetScorerVersionOrLatestScorersScorerIdVersionGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

listAllVersionsForScorerScorersScorerIdVersionsGet

List All Versions For Scorer

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.listAllVersionsForScorerScorersScorerIdVersionsGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsListAllVersionsForScorerScorersScorerIdVersionsGet } from "galileo-generated/funcs/promptsListAllVersionsForScorerScorersScorerIdVersionsGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsListAllVersionsForScorerScorersScorerIdVersionsGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsListAllVersionsForScorerScorersScorerIdVersionsGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.ListAllVersionsForScorerScorersScorerIdVersionsGetRequest ✔️ The request object to use for the request.
security operations.ListAllVersionsForScorerScorersScorerIdVersionsGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ListScorerVersionsResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

listProjectsForScorerRouteScorersScorerIdProjectsGet

List all projects associated with a specific scorer.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.listProjectsForScorerRouteScorersScorerIdProjectsGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsListProjectsForScorerRouteScorersScorerIdProjectsGet } from "galileo-generated/funcs/promptsListProjectsForScorerRouteScorersScorerIdProjectsGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsListProjectsForScorerRouteScorersScorerIdProjectsGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsListProjectsForScorerRouteScorersScorerIdProjectsGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.ListProjectsForScorerRouteScorersScorerIdProjectsGetRequest ✔️ The request object to use for the request.
security operations.ListProjectsForScorerRouteScorersScorerIdProjectsGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ApiSchemasProjectV2GetProjectsPaginatedResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

listProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet

List all projects associated with a specific scorer version.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.listProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerVersionId: "<value>",
    scorerId: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import {
  promptsListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet,
} from "galileo-generated/funcs/promptsListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerVersionId: "<value>",
    scorerId: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGet failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.ListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGetRequest ✔️ The request object to use for the request.
security operations.ListProjectsForScorerVersionRouteScorersVersionsScorerVersionIdProjectsGetSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ApiSchemasProjectV2GetProjectsPaginatedResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

restoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost

List all scorers.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.restoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    versionNumber: 388789,
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsRestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost } from "galileo-generated/funcs/promptsRestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsRestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    scorerId: "<value>",
    versionNumber: 388789,
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsRestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request operations.RestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePostRequest ✔️ The request object to use for the request.
security operations.RestoreScorerVersionScorersScorerIdVersionsVersionNumberRestorePostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.BaseScorerVersionResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

autogenLlmScorerScorersLlmAutogenPost

Autogenerate an LLM scorer configuration.

Returns a Celery task ID that can be used to poll for the autogeneration results.

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.autogenLlmScorerScorersLlmAutogenPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    instructions: "<value>",
    modelName: "<value>",
    outputType: "discrete",
    cotEnabled: false,
    scoreableNodeTypes: [
      "<value 1>",
      "<value 2>",
    ],
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsAutogenLlmScorerScorersLlmAutogenPost } from "galileo-generated/funcs/promptsAutogenLlmScorerScorersLlmAutogenPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsAutogenLlmScorerScorersLlmAutogenPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    instructions: "<value>",
    modelName: "<value>",
    outputType: "discrete",
    cotEnabled: false,
    scoreableNodeTypes: [
      "<value 1>",
      "<value 2>",
    ],
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsAutogenLlmScorerScorersLlmAutogenPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request models.CreateLLMScorerAutogenRequest ✔️ The request object to use for the request.
security operations.AutogenLlmScorerScorersLlmAutogenPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.GenerationResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

manualLlmValidateScorersLlmValidatePost

Manual Llm Validate

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.manualLlmValidateScorersLlmValidatePost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    "key": "<value>",
    "key1": "<value>",
    "key2": "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsManualLlmValidateScorersLlmValidatePost } from "galileo-generated/funcs/promptsManualLlmValidateScorersLlmValidatePost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsManualLlmValidateScorersLlmValidatePost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    "key": "<value>",
    "key1": "<value>",
    "key2": "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsManualLlmValidateScorersLlmValidatePost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request { [k: string]: any } ✔️ The request object to use for the request.
security operations.ManualLlmValidateScorersLlmValidatePostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.GeneratedScorerValidationResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*

validateLlmScorerLogRecordScorersLlmValidateLogRecordPost

Validate Llm Scorer Log Record

Example Usage

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.rows.validateLlmScorerLogRecordScorersLlmValidateLogRecordPost({
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    logStreamId: "00000000-0000-0000-0000-000000000000",
    filters: [
      {
        columnId: "<id>",
        operator: "eq",
        value: "example input",
        caseSensitive: true,
        type: "text",
      },
    ],
    sort: {
      columnId: "<id>",
      ascending: false,
    },
    query: "<value>",
    response: "<value>",
    chainPollTemplate: {
      template: "<value>",
    },
    scorerConfiguration: {},
    userPrompt: "<value>",
  });

  console.log(result);
}

run();

Standalone function

The standalone function version of this method:

import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { promptsValidateLlmScorerLogRecordScorersLlmValidateLogRecordPost } from "galileo-generated/funcs/promptsValidateLlmScorerLogRecordScorersLlmValidateLogRecordPost.js";

// Use `GalileoGeneratedCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const galileoGenerated = new GalileoGeneratedCore();

async function run() {
  const res = await promptsValidateLlmScorerLogRecordScorersLlmValidateLogRecordPost(galileoGenerated, {
    apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
  }, {
    logStreamId: "00000000-0000-0000-0000-000000000000",
    filters: [
      {
        columnId: "<id>",
        operator: "eq",
        value: "example input",
        caseSensitive: true,
        type: "text",
      },
    ],
    sort: {
      columnId: "<id>",
      ascending: false,
    },
    query: "<value>",
    response: "<value>",
    chainPollTemplate: {
      template: "<value>",
    },
    scorerConfiguration: {},
    userPrompt: "<value>",
  });
  if (res.ok) {
    const { value: result } = res;
    console.log(result);
  } else {
    console.log("promptsValidateLlmScorerLogRecordScorersLlmValidateLogRecordPost failed:", res.error);
  }
}

run();

Parameters

Parameter Type Required Description
request models.ValidateLLMScorerLogRecordRequest ✔️ The request object to use for the request.
security operations.ValidateLlmScorerLogRecordScorersLlmValidateLogRecordPostSecurity ✔️ The security requirements to use for the request.
options RequestOptions Used to set various options for making HTTP requests.
options.fetchOptions RequestInit Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.
options.retries RetryConfig Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.ValidateLLMScorerLogRecordResponse>

Errors

Error Type Status Code Content Type
errors.HTTPValidationError 422 application/json
errors.GalileoGeneratedDefaultError 4XX, 5XX */*