chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

documentation/examples - Does the "title" metadata get used

Open blasscoc opened this issue 1 year ago • 0 comments

In the examples/providers/pinecone/semantic_search.ipynb, the document is prepared with a "title" field. The documentation on the README.md doesn't seem to include a "title" field, is this use somewhere anyhow?

documents = [ { 'id': r['id'], 'text': r['context'], 'metadata': { 'title': r['title'] } } for r in data.to_dict(orient='records') ] documents[:3]

blasscoc avatar Apr 06 '23 14:04 blasscoc