Difference between revisions of "Osgeo-knowledge-base"
Ominiverdi (talk | contribs) |
Ominiverdi (talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | OSGeo Knowledge Base | + | = OSGeo Knowledge Base = |
| − | Automated wiki | + | Automated OSGeo wiki, WordPress, and Planet content sync and processing service running on [[Gallery_Container]]. |
| − | + | * GitHub: https://github.com/ominiverdi/osgeo-knowledge | |
| + | * Local path: <code>/home/ominiverdi/github/osgeo-knowledge</code> | ||
| + | * Database: PostgreSQL on Gallery | ||
| − | + | == Scheduled jobs == | |
| − | + | Verified in the <code>ominiverdi</code> crontab on <code>osgeo7-gallery</code>: | |
| − | + | <pre> | |
| + | 15 */6 * * * wiki_sync.py --days 2 | ||
| + | 0 3 * * * wordpress_sync.py --days 14 | ||
| + | 30 */4 * * * planet_sync.py --all | ||
| + | 0 * * * * process_chunks.py --limit 100 | ||
| + | </pre> | ||
| + | |||
| + | Summary: | ||
| − | + | * Wiki sync: every 6 hours | |
| + | * WordPress sync: daily | ||
| + | * Planet OSGeo sync: every 4 hours | ||
| + | * Chunk processing: hourly | ||
| − | + | == MCP server == | |
| + | |||
| + | The MCP tools are provided by the <code>osgeo-knowledge</code> MCP server: | ||
| + | |||
| + | <pre> | ||
| + | /home/ominiverdi/github/osgeo-knowledge/venv/bin/python -m osgeo_knowledge.servers.mcp | ||
| + | </pre> | ||
| + | |||
| + | In the Matrix chat bridge, these tools appear with the <code>osgeo-knowledge_</code> prefix. | ||
| + | |||
| + | == MCP tools == | ||
<pre> | <pre> | ||
[osgeo-knowledge_search_wiki] | [osgeo-knowledge_search_wiki] | ||
| + | </pre> | ||
| + | Search LLM-generated page summaries and keywords. This is the main high-level search tool. | ||
| + | |||
| + | <pre> | ||
[osgeo-knowledge_search_content] | [osgeo-knowledge_search_content] | ||
| + | </pre> | ||
| + | Search raw page content chunks with full-text matching and highlights. | ||
| + | |||
| + | <pre> | ||
[osgeo-knowledge_search_entities] | [osgeo-knowledge_search_entities] | ||
| + | </pre> | ||
| + | Search extracted entities such as people, projects, organizations, conferences, and locations. | ||
| + | |||
| + | <pre> | ||
[osgeo-knowledge_get_entity_relationships] | [osgeo-knowledge_get_entity_relationships] | ||
| + | </pre> | ||
| + | Query relationships between extracted entities. | ||
| + | |||
| + | <pre> | ||
[osgeo-knowledge_get_page] | [osgeo-knowledge_get_page] | ||
| + | </pre> | ||
| + | Retrieve full content for a specific page. | ||
| + | |||
| + | <pre> | ||
[osgeo-knowledge_get_wiki_stats] | [osgeo-knowledge_get_wiki_stats] | ||
</pre> | </pre> | ||
| + | Show database statistics and sync status. | ||
| + | |||
| + | == Related services == | ||
| + | |||
| + | * [[LLM-based Chat Assistant]] | ||
| + | * [[OSGeo-Knowledge-Embedding-Server]] | ||
| − | + | '''Contact:''' ominiverdi, Lorenzo Becchi, or SAC channel. | |
[[Category:Services]] | [[Category:Services]] | ||
[[Category:AI-Services]] | [[Category:AI-Services]] | ||
Revision as of 10:29, 5 June 2026
OSGeo Knowledge Base
Automated OSGeo wiki, WordPress, and Planet content sync and processing service running on Gallery_Container.
- GitHub: https://github.com/ominiverdi/osgeo-knowledge
- Local path:
/home/ominiverdi/github/osgeo-knowledge - Database: PostgreSQL on Gallery
Scheduled jobs
Verified in the ominiverdi crontab on osgeo7-gallery:
15 */6 * * * wiki_sync.py --days 2 0 3 * * * wordpress_sync.py --days 14 30 */4 * * * planet_sync.py --all 0 * * * * process_chunks.py --limit 100
Summary:
- Wiki sync: every 6 hours
- WordPress sync: daily
- Planet OSGeo sync: every 4 hours
- Chunk processing: hourly
MCP server
The MCP tools are provided by the osgeo-knowledge MCP server:
/home/ominiverdi/github/osgeo-knowledge/venv/bin/python -m osgeo_knowledge.servers.mcp
In the Matrix chat bridge, these tools appear with the osgeo-knowledge_ prefix.
MCP tools
[osgeo-knowledge_search_wiki]
Search LLM-generated page summaries and keywords. This is the main high-level search tool.
[osgeo-knowledge_search_content]
Search raw page content chunks with full-text matching and highlights.
[osgeo-knowledge_search_entities]
Search extracted entities such as people, projects, organizations, conferences, and locations.
[osgeo-knowledge_get_entity_relationships]
Query relationships between extracted entities.
[osgeo-knowledge_get_page]
Retrieve full content for a specific page.
[osgeo-knowledge_get_wiki_stats]
Show database statistics and sync status.
Related services
Contact: ominiverdi, Lorenzo Becchi, or SAC channel.