chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
documentation/examples - Does the "title" metadata get used
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]