llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

Can this be used for text generation?

Open mjp0 opened this issue 2 years ago • 1 comments

I just ran into gpt_index, awesome project!

I took a quick look at the prompts docs and I see that it's geared towards summarization and QA. I have a project where I need to pass in a lot of context for text generation, so I was wondering if gpt_index could be used for that as well? I don't fully understand yet how gpt_index works, so excuse me if this is a dumb question ;)

mjp0 avatar Jan 15 '23 14:01 mjp0

I don't see why not, though depends on the use case! During the query you could prompt GPT Index to generate text for you given some context - GPT Index will identify the relevant document pieces, and use those as in-context learning to generate a response

jerryjliu avatar Jan 15 '23 18:01 jerryjliu

Interesting, I'll definitely give it a shot, thanks!

mjp0 avatar Jan 16 '23 19:01 mjp0