Learn Command
Thelearn command allows Simili Bot to “understand” what a repository is responsible for by indexing its documentation (README, ARCHITECTURE.md, etc.). This information is used for semantic routing in multi-repository setups.
Syntax
Options
How it Works
- Fetch: Fetches the specified file from the repository via the GitHub API.
- Embed: Generates a high-dimensional vector embedding of the file content.
- Index: Stores the embedding and content in the
transfer.repo_collection(default:simili_repos) in Qdrant.
Examples
Index a README
Index the main README of the backend repository to improve routing accuracy.Index Architecture Docs
Give the bot a deeper understanding of a repository’s architecture.Dry Run
Verify what would be indexed without making any changes.Why use learn?
Semantic routing allows Simili Bot to route issues correctly even for repositories with zero historical issues (the “cold start” problem). By learning the documentation, the bot can match the intent of an issue against the declared purpose of a repository.
Next Steps
Issue Routing
Learn how semantic routing works.
Transfer Rules
Configure rule-based routing.

