Configuring AI Knowledge

AI Knowledge is Prisme.ai’s product for agentic assistants powered by tools and retrieval-augmented generation (RAG). It enables teams to build agents that leverage internal knowledge across various formats, interact with APIs via tools, and collaborate with other agents through context sharing — enabling true multi-agent workflows with robust LLM support and enterprise-grade configuration options.

This guide explains how to configure AI Knowledge in a self-hosted environment.


Core Capabilities

  • Configure multi-model support with failover and fine-tuned prompts
  • Automate agent provisioning via AI Builder
  • Enforce limits, security, and monitoring
  • Enable builtin tools like summarization, search, code interpreter, web browsing
  • Integrate with OpenSearch, Redis, or other vector stores

LLM Providers


Global Configuration


Models Configuration

Configure all available models with descriptions, rate limits, and failover:

modelsSpecifications:
  gpt-4o:
    displayName: GPT 4
    maxContext: 128000
    maxResponseTokens: 2000
    isHiddenFromEndUser: true
    subtitle:
      fr: Modèle hébergé aux USA.
      en: Model hosted in the USA.
    description:
      fr: Le modèle GPT-4o sur OpenAI. Vous pouvez utiliser des documents C1 et C2.
      en: The GPT-4o model on OpenAI. You can use documents C1 and C2.
    rateLimits:
      requestsPerMinute: 1000
      tokensPerMinute: 100000
    failoverModel: 'gpt-4o'
  text-embedding-ada-002:
    type: embeddings
    maxContext: 2048
    batchSize: 96
    subtitle: {}
    description: {}
  mistral.mistral-large-2402-v1:0:
    maxContext: 120000
    additionalRequestBody:
      completions:
        guardrailConfig:
          guardrailIdentifier: "..."
          guardrailVersion: '1'
      embeddings: {}

Vector Store Configuration

To enable retrieval-based answers, configure a vector store:

vectorStore:
  provider: redisSearch
  url: '{{secret.redisUrl}}'

Or with OpenSearch:

vectorStore:
  provider: openSearch
  url: '{{secret.opensearchUrl}}'
  user: '{{secret.opensearchUser}}'
  password: '{{secret.opensearchPassword}}'

Tools and Capabilities

AI Knowledge enables advanced agents via tools.

file_search

RAG tool for semantic search within indexed documents.

file_summary

Summarize entire files when explicitly requested.

documents_rag

Used to extract context from project knowledge collections.

web_search

Optional tool enabled via Serper API key:

tools:
  webSearch:
    apiKey: '{{secret.serperApiKey}}'

code_interpreter

Python tool for data manipulation and document-based computation.

image_generation

Uses DALL-E or equivalant if enabled in LLM config.


Advanced Features


Next Steps