Documentation Index
Fetch the complete documentation index at: https://mintlify.com/imdevarsh/gorkie-slack/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Gorkie can search the web using the Exa search engine to find current information, news, documentation, and articles. This capability allows Gorkie to answer questions about recent events, look up API documentation, and retrieve content from the internet.How Web Search Works
Gorkie automatically decides when to use web search based on the conversation context. You can also explicitly request a search.Search Tool
Fromserver/lib/ai/tools/chat/search-web.ts:16-42:
Gorkie uses web search when you ask about current events, recent releases, documentation, or any information that requires up-to-date knowledge.
Search Configuration
Gorkie uses Exa’s “auto” search type, which automatically determines the best search strategy. Fromserver/lib/ai/tools/chat/search-web.ts:8-14:
- Type:
auto- Exa decides between neural and keyword search - Results: 10 results per search
- Contents: Text content included (for reading and summarization)
Exa Integration
The Exa client is initialized with an API key. Fromserver/lib/ai/exa.ts:1-5:
Search Execution
Fromserver/lib/ai/tools/chat/search-web.ts:49-72:
- URL of each result
- Title of the page
- Full text content (up to Exa’s limits)
- Up to 8 sources displayed in Slack
When Gorkie Uses Search
Gorkie’s system prompt includes guidance on search usage:- You ask about current events or news
- You need recent documentation or API references
- You request information not in its training data
- You explicitly ask it to search
Search Capabilities
Code Documentation
Current Information
News and Articles
API References
Search Results Display
Search results appear in Slack as task completion messages with source links:Best Practices
- Be specific - “React 19 hooks changes” is better than “React updates”
- Use keywords - Include technical terms for better results
- Combine with sandbox - Search for docs, then use sandbox to try examples
- Trust Gorkie - It knows when search is needed and will use it automatically
Limitations
What Search CAN Do
- Find public web content
- Access documentation sites
- Retrieve articles and blog posts
- Get current information
What Search CANNOT Do
- Access authenticated/private content
- Log into websites
- Access paywalled articles
- Retrieve content behind login screens
Error Handling
If a search fails, Gorkie will:- Mark the task as error
- Log the error details
- Inform you that the search failed
- Try to help using its existing knowledge
server/lib/ai/tools/chat/search-web.ts:73-77:
Related Features
- AI Chat - Gorkie’s conversation capabilities
- Code Sandbox - Execute code with search results
- Slack Integration - How results appear in Slack