# Function createFeedbackIntegration

Learning exports - Closed-loop feedback and routing improvement Split from index.ts for file size compliance (Issue #285)

- createFeedbackIntegration(
  config?: Partial<FeedbackIntegrationConfig>,
  collector?: OutcomeFeedbackCollector,
  ): IFeedbackIntegration

  Creates a FeedbackIntegration instance.

  #### Parameters

  - `Optional` config: Partial<FeedbackIntegrationConfig>
  - `Optional` collector: OutcomeFeedbackCollector

  #### Returns IFeedbackIntegration

  - Defined in packages/nexus-agents/src/learning/feedback-integration.ts:509