Knowledge Base

Adding Sources

Fid currently supports the following knowledge source formats:

  • PDF Documents

  • GitHub Repositories

  • Doxygen Websites

  • Sphinx Websites

You can add one of these sources to your knowledge base by clicking the plus icon in the navigation bar of the knowledge base view, or by searching for “Fid: Add Source” in the command palette (Ctrl+Shift+P).

Then, follow the prompts for your selected source format and wait for the source to finish processing.

Collaborating on Your Knowledge Base

The sources you add to your knowledge base are stored securely in the cloud, so you and your teammates can access them persistently and across devices. Just check in the .fid file that Fid creates in your repository’s root directory to your source control system, and your teammates will be able to see and contribute to your knowledge base for that repository.

Searching Your Knowledge Base

Once you have added sources to your knowledge base, you can search for specific terms or phrases using the search icon in the navigation bar of the search view, using the keyboard shortcut ctrl+k/cmd+k, or by searching for “Fid: Search Knowledge Base” in the command palette.

Search results appear in the search view, and you can hover over a result to see a preview of the source. Results in GitHub repositories and docs websites have an external link icon at the right that will open the source in your browser.

Chatting With Your Knowledge Base

Fid also provides a chat window for longer-form interaction with your knowledge base. Chat can help you with many tasks such as debugging errors, better understanding your knowledge base, and writing code. It automatically incorporates your knowledge base and any open file in your editor window as context. To get started, just type a message in the chat view and press Enter or click the send icon in the textbox. Fid will respond with helpful information and code suggestions, when appropriate.

The chat view currently displays your last 100 messages. To reset the chat, click the clear icon in the top right of the chat view toolbar, or by searching for “Clear Chat” in the command palette.

Fid AI demonstration