# Knowledge Sources

[Open in workspace →](/workspace/_/ai/websites)

Knowledge sources provide the content your AI assistant uses to answer customer questions. The assistant only responds based on content from your knowledge base.

## Source types

- **[Websites](/docs/knowledge/websites/)** — automatically scrape and index web pages.
- **[Notes](/docs/knowledge/notes/)** — manually written text content.

## How knowledge works

When a customer asks a question, Optlo performs a semantic search across your knowledge sources to find the most relevant content. This content is provided to the AI model as context for generating a response.

You can choose which embedding model to use for indexing and search. Both OpenAI (`text-embedding-3-small`) and Google Gemini (`gemini-embedding-2`) are supported. Configure your embedding model in [**AI > Integrations**](/docs/ai/integrations/).

## Sections

- [Websites](/docs/knowledge/websites/) — import content from web pages.
- [Notes](/docs/knowledge/notes/) — add custom text content.
