# Extract and generate response from context

**URL:** <https://discuss.huggingface.co/t/extract-and-generate-response-from-context/63413>\
**Category:** Beginners\
**Created:** [November 24, 2023, 1:26pm UTC](https://discuss.huggingface.co/t/extract-and-generate-response-from-context/63413 "2023-11-24T13:26:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilolo](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@dilolo](https://discuss.huggingface.co/u/dilolo)\
**Post date:** [November 24, 2023, 1:26pm UTC](https://discuss.huggingface.co/t/extract-and-generate-response-from-context/63413/1 "2023-11-24T13:26:21Z")

</div>

Hi. I’m using a model to find matches from a database and output the strings that best match a sentence.  
A kind of model that finds the answer from the database.  
Now I need not only output the matching strings, I need to generate a response referring to these matching strings (like in ChatGPT for example)  
What multilingual transformers are there that can thus extract an answer from the context and generate an answer?
