Skip to main content

Overview

The CreateProjectOptions interface is used when calling project.create() to define the behavior and models for a new memory workspace. It allows you to specify the AI infrastructure that will power the semantic search and embedding storage.

Properties

PropertyTypeDescription
descriptionstringA brief summary of the project’s purpose.
embedderstringThe specific model used to convert text into vector embeddings.
rerankerstringThe model used to re-score and refine semantic search results for accuracy.

Usage Example

import { CreateProjectOptions } from '@memmachine/client';

const newProjectConfig: CreateProjectOptions = {
  description: 'Support bot for mobile app users',
  embedder: 'text-embedding-3-small',
  reranker: 'cohere-rerank-v3'
};

await client.project('mobile_support').create(newProjectConfig);