Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt

Use this file to discover all available pages before exploring further.


Function: createProject()

function createProject(
  name: string,
  options?: ProjectCreateOptions,
): Promise<{
  createdAt: string;
  createdBy?: null | string;
  id: string;
  name?: null | string;
  type?: null | "prompt_evaluation" | "llm_monitor" | "gen_ai" | "protect";
  updatedAt: string;
}>;
Defined in: src/utils/projects.ts Creates a new project.

Parameters

name

string Name of the project to create.

options?

ProjectCreateOptions (Optional) Additional create options.

Returns

Promise<{ createdAt: string; createdBy?: null | string; id: string; name?: null | string; type?: null | "prompt_evaluation" | "llm_monitor" | "gen_ai" | "protect"; updatedAt: string; }> A promise that resolves to the created project.