-
Notifications
You must be signed in to change notification settings - Fork 90
4.2. AI Assisted Coding
QualCoder’s built-in AI features (version 3.6 and up) can assist the coding process in various ways:
- AI Search: Leverage the AI's ability to quickly analyze large amounts of text to find and explore specific topics or concepts within your corpus.
- Search for concepts, not keywords: QualCoder uses a combination of semantic search technologies and Large Language Models like GPT-4. As a result, you don’t need to enter exact keywords but can also search for much more abstract concepts, e.g. "changing gender roles" or "recognition in the workplace".
- Interpret your data interactively with the AI: The AI not only suggests relevant data but also provides interpretation, offering a different perspective that can enrich your understanding of the data.
- Adapt it to your methodology: Direct the AI’s analysis by choosing from several predefined prompts or creating your own.
- Assisted, not automated coding: Unlike the keyword-based auto coding, this is not an automated process. You must review the AI's suggestions.
Note that "AI Assisted Coding" is not a method in its own right; it's a set of techniques that can be adapted to many methods working with codes, from grounded theory to content or thematic analysis. See this video tutorial for a practical example.
- The AI must be enabled, fully loaded, and ready for new queries (see the status bar for current state).
- It is highly recommended to use the project memo (Menu "AI > Project Memo") to include a short description of your project's research topics, questions, objectives, and the empirical data collected. This information will accompany every prompt sent to the AI, resulting in much more targeted results.
AI assisted coding is integrated into the text coding workspace. Start it by clicking on "Coding > AI assisted coding" or, if you already are in the text coding workspace, select the "AI Assistance" tab on the left. Then click on "Start AI Search."
In the next window, you have to (1) define the object of your search (code or free topic), (2) instruct the AI how to analyze your data, and, if needed, (3) define filters for your data:

Use this to dive deeper into a particular aspect and add more data from your entire corpus to an already existing code.
Options:
- Select a code or a category: QualCoder will send not only the code name to the AI but the complete hierarchy path in the code tree, e.g., "Work > Meanings of work > Work as a necessity" in the example shown above.
- Send memo to AI: If selected, the code memo will also be shared with the AI. Use this to describe or define your code and help the AI generate better results. If you also want to add personal notes to the code memo, you can do so by inserting "#####" into the text. Anything below this mark will not be sent to the AI.
- Include coded segments: Defaulted to off, meaning the AI search will return only new data not yet coded with this particular code. Activate this option to include previously coded data also.
Search for any topic, phenomenon, or concept in your entire corpus of data without a predefined code. Enter a name and a description to communicate to the AI what you are looking for.
The analytic prompt instructs the AI how to examine your data. Select it in the bottom left of the window.

QualCoder offers a range of analytic prompts for different approaches. These allow, for instance, to modify the AI search to be either very open, interpretative and inclusive ("Open search" prompt) or to be more focused, adhering to predefined coding rules outlined in the code’s memo ("content analysis" prompt).
Explore these prompts by hovering your mouse over the items in the drop-down list. Click on "Edit" to edit the analytic prompts or define your own (advanced option).
By default, the complete corpus of textual data in the current project is explored. If you want to limit the search to certain documents or cases, you can select them on the right side of the window (Ctrl + Click to select multiple). You can also define a filter based on selected attribute variables.
First, perform the AI Search. This is a two-step process:
Step 1: The AI queries its local database for potentially relevant data in your corpus.
Step 2: This data is then sent to the large language model for a detailed analysis based on the selected prompt.
Please be patient as it might take some time for the initial results to appear. Clicking on a result loads the document in the main window and highlights the relevant quote. Make sure to also look at the text surrounding the quote to understand its context.
You can code the selected text as you would any other text in the code-text workspace. Expand or modify the selection as needed.
You can also view the AI's interpretation by hovering your mouse over a result in the list on the left, which will display a tooltip window. If you choose to code the text, you will have the option to add the AI's interpretation as a memo to the coding.
When you reach the end of the list, you'll often see a "find more" link, which means that more data from the first step of the search is available for closer inspection. Click on this link to examine the next 10 pieces of data.
QualCoder uses a ranking algorithm to display the most relevant results at the top of the list. Note that this algorithm is not perfect, you may still find interesting data further down the list.
Over time, however, the results returned by the AI will begin to diverge from the original topic and become less and less relevant. This is the point where you should stop the investigation and move on to the next topic or code. You don't need to click "find more" until there is absolutely no data left to analyze from step one of the search. Compare this to a Google search: There's no need to click through every single page of results if you already understand what you want to know.
- If step one does not return any potentially relevant data: Remember that by default, the code search only extracts new data. If you have already thoroughly coded your documents, there may simply be nothing new to explore on a particular topic. Also, think about your search query, especially the name of the code or search topic: Is it too specific or not clear enough?
- If step two does not yield any results: Click on "find more" (if available) to analyze more data. If this does not produce any results either, you may want to start a new search with a more open, inclusive prompt (e.g., "open search").
In general, getting no, very few, or mostly irrelevant results is a strong indication that a particular topic is not very prominent in your data. However, we cannot guarantee that the AI will find every single piece of data related to your code or free search without missing anything.
-
Setup
2.1. Installation
2.2. Settings
2.3. AI Setup
2.4. Working in a Team
-
Managing Data
3.2. Files
3.3. Cases
3.4. Attributes
-
Coding
4.1. Coding Text
4.2. AI Assisted Coding
4.3. Coding Text on PDFs
4.4. Coding Images
4.6. Code Organiser
-
Analyzing the Results
5.2. Journals
5.3. Reports
5.4. Graph
-
Advanced Options
6.1. Imports and Exports
6.2. AI Prompt Library
-
Other Information
7.1. About The Developers