# \#api-hallucinations

**URL:** https://community.openai.com/tag/api-hallucinations/545.md

[Latest](https://community.openai.com/latest.md) · [Categories](https://community.openai.com/categories.md) · [Tags](https://community.openai.com/tags.md)

---

## [Measuring hallucinations in a RAG pipeline](https://community.openai.com/t/measuring-hallucinations-in-a-rag-pipeline/732205)

<div class="topic-metadata">

**Author:** [@niks](https://community.openai.com/u/niks)\
**Replies:** 4\
**Last updated:** [April 3, 2026, 7:17am UTC](https://community.openai.com/t/measuring-hallucinations-in-a-rag-pipeline/732205 "2026-04-03T07:17:02Z")

</div>

I have a llm system that works on RAG pipeline, the data is chained to my local knowledge base and the generator uses that info to answer user queries. I need to build a system that checks the content similarity from the…

---

## [Understanding Why AI Models Hallucinate and Practical Mitigation Strategies](https://community.openai.com/t/understanding-why-ai-models-hallucinate-and-practical-mitigation-strategies/1357676)

<div class="topic-metadata">

**Author:** [@Anurag\_Dongare](https://community.openai.com/u/Anurag_Dongare)\
**Replies:** 0\
**Last updated:** [September 12, 2025, 8:16am UTC](https://community.openai.com/t/understanding-why-ai-models-hallucinate-and-practical-mitigation-strategies/1357676 "2025-09-12T08:16:45Z")

</div>

Understanding Why AI Models Hallucinate Abstract AI language models have achieved remarkable fluency in natural language tasks, yet they frequently produce fabricated or inaccurate outputs — a phenomenon termed “halluci…

---

## [Higher Frequency of Hallucinations?](https://community.openai.com/t/higher-frequency-of-hallucinations/1136399)

<div class="topic-metadata">

**Author:** [@blichtenwalner](https://community.openai.com/u/blichtenwalner)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 7:00am UTC](https://community.openai.com/t/higher-frequency-of-hallucinations/1136399 "2025-03-11T07:00:23Z")

</div>

Has anyone noticed escalated levels of hallucinations lately? I’m using the assistants-api and only saw one in months of usage. Now, in the last 2 days, I estimate one in every 7 responses are hallucinations. If not, is…

---

## [LangChain vs File\_Search: Which is Better for Reducing GPT-4 Hallucinations?](https://community.openai.com/t/langchain-vs-file-search-which-is-better-for-reducing-gpt-4-hallucinations/953487)

<div class="topic-metadata">

**Author:** [@joaquin.marroquin](https://community.openai.com/u/joaquin.marroquin)\
**Replies:** 2\
**Last updated:** [January 6, 2025, 9:27am UTC](https://community.openai.com/t/langchain-vs-file-search-which-is-better-for-reducing-gpt-4-hallucinations/953487 "2025-01-06T09:27:13Z")

</div>

Hi, I’ve been working with an assistant using gpt4o-mini to retrieve data from a file through file\_search. Currently, it’s just one XML file, but the idea is to load around 10 files of the same type, reaching about 2MB o…

---

## [Structured Output Cached Response](https://community.openai.com/t/structured-output-cached-response/1028244)

<div class="topic-metadata">

**Author:** [@tim.graf.codes](https://community.openai.com/u/tim.graf.codes)\
**Replies:** 4\
**Last updated:** [December 4, 2024, 2:35pm UTC](https://community.openai.com/t/structured-output-cached-response/1028244 "2024-12-04T14:35:05Z")

</div>

We are working with structured output as shown in the following link. https://platform.openai.com/docs/guides/structured-outputs We are using the Python client as well. openai==1.55.0 We are passing in text from a PD…

---

## [Struggling with Slow Responses and AI Hallucinations in My OpenAI Assistant – Need Expert Advice to Optimize Performance!](https://community.openai.com/t/struggling-with-slow-responses-and-ai-hallucinations-in-my-openai-assistant-need-expert-advice-to-optimize-performance/949111)

<div class="topic-metadata">

**Author:** [@joaquin.marroquin](https://community.openai.com/u/joaquin.marroquin)\
**Replies:** 9\
**Last updated:** [September 20, 2024, 5:58pm UTC](https://community.openai.com/t/struggling-with-slow-responses-and-ai-hallucinations-in-my-openai-assistant-need-expert-advice-to-optimize-performance/949111 "2024-09-20T17:58:01Z")

</div>

Hello, I’m currently working on a project where I use an OpenAI assistant that utilizes file\_search with information from a list of scientific and student-related informational websites. An XML file is loaded containing …

---

## [GPT-4o - Hallucinating at temp:0 - Unusable in production](https://community.openai.com/t/gpt-4o-hallucinating-at-temp-0-unusable-in-production/746750)

<div class="topic-metadata">

**Author:** [@jimbo](https://community.openai.com/u/jimbo)\
**Replies:** 26\
**Last updated:** [July 24, 2024, 7:58am UTC](https://community.openai.com/t/gpt-4o-hallucinating-at-temp-0-unusable-in-production/746750 "2024-07-24T07:58:24Z")

</div>

Hi folks, We’re finding that 4o is hallucinating fake information into quite strict summarisation prompts which work perfectly in gpt-4-turbo and gpt-3.5-turbo-0125 NB. running at temperature = 0 in case that’s relevan…

---

## [4o mini thinks it's a GPT 3 model?](https://community.openai.com/t/4o-mini-thinks-its-a-gpt-3-model/875219)

<div class="topic-metadata">

**Author:** [@emmettbicker](https://community.openai.com/u/emmettbicker)\
**Replies:** 1\
**Last updated:** [July 22, 2024, 12:32am UTC](https://community.openai.com/t/4o-mini-thinks-its-a-gpt-3-model/875219 "2024-07-22T00:32:48Z")

</div>

I’m trying 4o-mini and I’m asking it what model it is–it seems to think it’s a GPT 3 model through the API. Is anyone else experiencing this? from openai import OpenAI client = OpenAI() completion = client.chat.complet…

---

## [The model overwriting is not working for me during the run creation](https://community.openai.com/t/the-model-overwriting-is-not-working-for-me-during-the-run-creation/674933)

<div class="topic-metadata">

**Author:** [@haka](https://community.openai.com/u/haka)\
**Replies:** 3\
**Last updated:** [March 10, 2024, 2:07pm UTC](https://community.openai.com/t/the-model-overwriting-is-not-working-for-me-during-the-run-creation/674933 "2024-03-10T14:07:41Z")

</div>

Hi All, I experienced an interesting case. I want to try the Assistant instance overwriting to be sure it is working as I expected. So I created an Assistant, I have the id. When I create a run, I pass the data what …
