- getAvailableModelsLlmIntegrationsLlmIntegrationModelsGet - Get Available Models
- getAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet - Get Available Scorer Models
- getIntegrationsAndModelInfoLlmIntegrationsGet - Get Integrations And Model Info
- getIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet - Get Integrations And Model Info For Run
Get the list of supported models for the LLM integration.
import { GalileoGenerated } from "galileo-generated";
const galileoGenerated = new GalileoGenerated();
async function run() {
const result = await galileoGenerated.llmIntegrations.getAvailableModelsLlmIntegrationsLlmIntegrationModelsGet({
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
llmIntegration: "vertex_ai",
});
console.log(result);
}
run();The standalone function version of this method:
import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { llmIntegrationsGetAvailableModelsLlmIntegrationsLlmIntegrationModelsGet } from "galileo-generated/funcs/llmIntegrationsGetAvailableModelsLlmIntegrationsLlmIntegrationModelsGet.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 llmIntegrationsGetAvailableModelsLlmIntegrationsLlmIntegrationModelsGet(galileoGenerated, {
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
llmIntegration: "vertex_ai",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("llmIntegrationsGetAvailableModelsLlmIntegrationsLlmIntegrationModelsGet failed:", res.error);
}
}
run();| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetAvailableModelsLlmIntegrationsLlmIntegrationModelsGetRequest | ✔️ | The request object to use for the request. |
security |
operations.GetAvailableModelsLlmIntegrationsLlmIntegrationModelsGetSecurity | ✔️ | 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. |
Promise<string[]>
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.HTTPValidationError | 422 | application/json |
| errors.GalileoGeneratedDefaultError | 4XX, 5XX | */* |
Get the list of supported scorer models for the LLM integration.
import { GalileoGenerated } from "galileo-generated";
const galileoGenerated = new GalileoGenerated();
async function run() {
const result = await galileoGenerated.llmIntegrations.getAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet({
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
llmIntegration: "databricks",
});
console.log(result);
}
run();The standalone function version of this method:
import { GalileoGeneratedCore } from "galileo-generated/core.js";
import {
llmIntegrationsGetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet,
} from "galileo-generated/funcs/llmIntegrationsGetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet.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 llmIntegrationsGetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet(galileoGenerated, {
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
llmIntegration: "databricks",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("llmIntegrationsGetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGet failed:", res.error);
}
}
run();| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGetRequest | ✔️ | The request object to use for the request. |
security |
operations.GetAvailableScorerModelsLlmIntegrationsLlmIntegrationScorerModelsGetSecurity | ✔️ | 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. |
Promise<string[]>
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.HTTPValidationError | 422 | application/json |
| errors.GalileoGeneratedDefaultError | 4XX, 5XX | */* |
Get the list of supported scorer models for the user's llm integrations.
import { GalileoGenerated } from "galileo-generated";
const galileoGenerated = new GalileoGenerated();
async function run() {
const result = await galileoGenerated.llmIntegrations.getIntegrationsAndModelInfoLlmIntegrationsGet({
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
});
console.log(result);
}
run();The standalone function version of this method:
import { GalileoGeneratedCore } from "galileo-generated/core.js";
import { llmIntegrationsGetIntegrationsAndModelInfoLlmIntegrationsGet } from "galileo-generated/funcs/llmIntegrationsGetIntegrationsAndModelInfoLlmIntegrationsGet.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 llmIntegrationsGetIntegrationsAndModelInfoLlmIntegrationsGet(galileoGenerated, {
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("llmIntegrationsGetIntegrationsAndModelInfoLlmIntegrationsGet failed:", res.error);
}
}
run();| Parameter | Type | Required | Description |
|---|---|---|---|
security |
operations.GetIntegrationsAndModelInfoLlmIntegrationsGetSecurity | ✔️ | 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. |
Promise<{ [k: string]: models.IntegrationModelsResponse }>
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.GalileoGeneratedDefaultError | 4XX, 5XX | */* |
Get the list of supported scorer models for the run owner's llm integrations.
import { GalileoGenerated } from "galileo-generated";
const galileoGenerated = new GalileoGenerated();
async function run() {
const result = await galileoGenerated.llmIntegrations.getIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet({
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
projectId: "<value>",
runId: "<value>",
});
console.log(result);
}
run();The standalone function version of this method:
import { GalileoGeneratedCore } from "galileo-generated/core.js";
import {
llmIntegrationsGetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet,
} from "galileo-generated/funcs/llmIntegrationsGetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet.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 llmIntegrationsGetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet(galileoGenerated, {
apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
}, {
projectId: "<value>",
runId: "<value>",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("llmIntegrationsGetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGet failed:", res.error);
}
}
run();| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGetRequest | ✔️ | The request object to use for the request. |
security |
operations.GetIntegrationsAndModelInfoForRunLlmIntegrationsProjectsProjectIdRunsRunIdGetSecurity | ✔️ | 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. |
Promise<{ [k: string]: models.IntegrationModelsResponse }>
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.HTTPValidationError | 422 | application/json |
| errors.GalileoGeneratedDefaultError | 4XX, 5XX | */* |