Skip to content

retrieval augmented ChatGPT #2

Description

@bruffridge

Use retrieval methods (eg. vector embeddings similarity, or BM25) to find information from journal articles to provide useful context to improve the outputs from ChatGPT for the Discover and Abstract steps of BDA mode.

Use of existing API based search capabilities are preferred rather than building one from scratch if they work well. Available search APIs are listed here: https://github.com/nasa-petal/PeTaL/wiki/BID-resources

Brief description of retrieval augmentation:
https://youtu.be/bZQun8Y4L2A?t=1974

Embeddings for all the papers in Arxiv.org
https://alex.macrocosm.so/download

Medium article showing how to use some existing tools that can do something similar:
https://medium.com/a-academic-librarians-thoughts-on-open-access/using-large-language-models-like-gpt-to-do-q-a-over-papers-ii-using-perplexity-ai-15684629f02b

https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb

This may be helpful:
https://twitter.com/danshipper/status/1615901860786749440
He used this to load his reference library:
https://github.com/jerryjliu/gpt_index

This is another example that may be useful:
https://every.to/superorganizers/i-trained-a-gpt-3-chatbot-on-every-episode-of-my-favorite-podcast

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

Version

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions