> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve Knowledge • TypeScript AI Agent SDK

> resolve_knowledge: API reference for resolve_knowledge

# resolve\_knowledge

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**config**](../modules/config) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def resolve_knowledge(input: boolean | string | string[] | KnowledgeConfig | undefined) -> KnowledgeConfig | undefined
```

### Returns

<ResponseField name="Returns" type="KnowledgeConfig | undefined">
  The result of the operation.
</ResponseField>

## Uses

* `isArray`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/config/index.ts#L756">
  `src/config/index.ts` at line 756
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Knowledge Base" icon="book" href="/docs/js/knowledge-base" />

  <Card title="JS Knowledge Base CLI" icon="terminal" href="/docs/js/knowledge-base-cli" />
</CardGroup>
