Featured Topics
Featured Products
Events
S&P Global Offerings
Featured Topics
Featured Products
Events
S&P Global Offerings
Featured Topics
Featured Products
Events
S&P Global Offerings
Featured Topics
Featured Products
Events
Financial and Market intelligence
Fundamental & Alternative Datasets
Government & Defense
Professional Services
Banking & Capital Markets
Economy & Finance
Energy & Commodities
Technology & Innovation
Podcasts & Newsletters
Financial and Market intelligence
Fundamental & Alternative Datasets
Government & Defense
Professional Services
Banking & Capital Markets
Economy & Finance
Energy & Commodities
Technology & Innovation
Podcasts & Newsletters
Research — 09 Jul, 2026
Featuring S&P Global Market Intelligence’s CreditCompanionTM
By Michelle P. Cheong, Shruthi Nagarajan, and Arun Kumar Singh
To understand what makes a good prompt for CreditCompanionTM, it helps to look at what happens behind the scenes. CreditCompanionTM uses Retrieval Augmented Generation (RAG), an advanced AI method that combines relevant information search with insightful answer generation.
When you enter a question, the following steps occur in the backend: (Chart 1)
This process ensures that CreditCompanionTM delivers reliable and context-aware answers by blending powerful retrieval with intelligent generation.
Note on Token Generation: Note that large language models, such as the ones used by CreditCompanionTM, do not "retrieve" fixed answers. They predict the next word (token) one step at a time based on probability. As such, there may be some variability in the responses (while maintaining context and relevance), which can lead to slightly different answers to the same question across runs.
Chart 1: Illustration of a custom-built RAG solution to retrieve and summarize credit risk related content and research
Source: S&P Global Market Intelligence. As of June 2026. For illustration only.
Why Clear Prompts Matter
How RAG works has a direct impact on what makes a good prompt. Large language models infer your intent and the type of content you need based solely on your question and how it is mathematically represented. Since the model cannot read your mind, providing clear and specific prompts helps ensure you receive the most accurate and relevant responses.
Tip 1: Be Clear in Your Intent
Since CreditCompanionTM is custom designed for credit risk workflows, all responses are tailored toward credit-related use cases at the system prompt level.
For example, if you asked CreditCompanionTM "What is the weather today?" (Chart 2) it will not provide a response. Instead, it will point you toward the different use cases it supports:
For instance:
Clarifying your intent at the beginning of the prompt can immensely improve the quality of the responses as it directs the large language model to the right process for your use case.
Chart 2: Example of CreditCompanion’s response to a prompt which will generate a response with general purpose chatbots, but lies outside the scope of CreditCompanionTM
Source: CreditCompanionTM on RatingsDirect® on S&P Capital IQ Pro, S&P Global Market Intelligence. As of June 2026. For illustration only.
How to clarify your intent: Use the "#" symbol in your prompt, followed by your intent. Typing "#" brings up various options. For example, if you want to focus on Macro Research, simply select it from the menu. (Chart 3)
Chart 3: Using “#” at the start of the prompt to clarify user intent in CreditCompanionTM
Source: CreditCompanionTM on RatingsDirect® on S&P Capital IQ Pro, S&P Global Market Intelligence. As of June 2026. For illustration only.
Tip 2: Be Clear About Entities and Geographies
Most chatbots rely purely on the text you type to filter content, but CreditCompanionTM has additional functionality to help you be more precise. Use the "@" sign to specify exactly which entity, geography, or even article you are interested in searching.
Using the "@" sign brings up a menu where you can specify:
Example Comparison:
Chart 4: Using “@” within the prompt to clearly specify geography locations being examined
Source: CreditCompanionTM on RatingsDirect® on S&P Capital IQ Pro, S&P Global Market Intelligence. As of June 2026. For illustration only.
Chart 5: Using “@” within the prompt to clearly specify article to be summarised
Source: CreditCompanionTM on RatingsDirect® on S&P Capital IQ Pro, S&P Global Market Intelligence. As of June 2026. For illustration only.
Tip 3: If your Question is Unrelated to the Previous Ones, Open a New Chat
Large language models are highly sensitive to context. Even small changes in the prompts you entered previously, shift the probabilities of the next generated word. To ensure the most accurate responses, start a new chat for each new question (i.e. clear the context window). Avoid passing previous chat history, timestamps, or user session data into your next prompt.
Tip 4: Provide a Blueprint of What the Output Should Look Like
For more elaborate prompt engineering, you may want to write out exact input-output pairs inside your prompt template. However, even for CreditCompanionTM, it can be helpful to anchor the logic of what you want by clearly outlining the structure of your desired response.
For example, if you are interested in focusing on the government's fiscal policy measures, industries most affected, and mitigants, list them clearly in point format. Through pattern recognition, the large language model from CreditCompanionTM understands that you are looking for replies in a particular structure and follows suit.
Example prompt structure to give you the specific aspects that you are searching for within a broad topic:
"Please provide information on: 1. Government's fiscal policy measures. 2. Industries most affected. 3. Risk Mitigants"
This approach anchors the model's pattern-matching mechanics, making it heavily bias toward copying the structure of your request. (Chart 6)
Chart 6: Example of a prompt that guides CreditCompanionTM to provide output in a structured format
Source: CreditCompanionTM on RatingsDirect® on S&P Capital IQ Pro, S&P Global Market Intelligence. As of June 2026. For illustration only.
Tip 5: Use Constraints and Boundaries
Set word limits, time periods, or scope restrictions to focus your results. Setting a shorter timeframe and a longer word count can give you a more detailed analysis. Examples:
Tip 6: Ask for Specific Formats and Rank Ordering of Responses
Requesting bullet points, comparisons, or pros/cons lists can make information easier to digest.
Example (as a follow up question on Intel Corp.): "Can you list the top 5 risks in order of severity?"
Tip 7: Ask Follow-up Questions Within the Same Context Window
In a similar way that you would clarify with a person if a response was unclear or not what you wanted to hear, you can similarly ask CreditCompanionTM follow-up questions to narrow down or expand on the information provided. Examples:
Tip 8: Avoid Ambiguous Language
Providing specific rather than vague language will remove the guesswork from the large language model (i.e. it decreases the noise in the numerical presentation of your question). This increases the chances of getting the responses you are looking for.
Use concrete terms like dates, specific metrics, or named entities instead of vague terms such as "recent," "some," or "various." If there is a specific angle of risk that you are concerned about, you can specify these as well (e.g., supply chain risks).
Instead of: "What are recent developments?"
Try: "What developments occurred between January and May 2026?"
Instead of: "What are some risks?"
Try: "What are the top supply chain risks affecting the technology sector?"
By understanding how CreditCompanion's RAG model works and applying these eight smart prompting tips, you can unlock more accurate, relevant, and actionable insights. Clear intent, precise entity selection, isolated requests, and structured outputs are the keys to getting the most out of your CreditCompanionTM experience.
Disclosures for this article from S&P Global Market Intelligence:
https://www.spglobal.com/marketintelligence/en/legal/disclosures#sp-global-market-intelligence