# Function createContextItem

- createContextItem(
  id: string,
  content: string,
  source: "result" | "task" | "knowledge" | "history",
  relevance: number,
  timestamp?: number,
  ): CuratedContextItem

  Create a context item from raw text.

  #### Parameters

  - id: string
  - content: string
  - source: "result" | "task" | "knowledge" | "history"
  - relevance: number
  - `Optional` timestamp: number

  #### Returns CuratedContextItem

  - Defined in packages/nexus-agents/src/agents/ictm/context-curator.ts:196