PromptingTools.jl
PromptingTools.jl copied to clipboard
Pinecone integration
This is an attempt to integrate Pinecone into PromptingTools. The preparation and retrieval steps are not necessary with Pinecone. The result of the Pinecone query serves as context in the RAGResult
.
Questions
- The new types have a
PT
prefix such as to not cause confusion withPinecone.jl
(there's already aPineconeIndex
there, which is a different thing). That is not great. - I added a
NoChunker
type such thatPTPineconeIndexer
can still have a chunker. Is that best? Probably not. - I think the dispatch of
find_tags
might not be necessary. - Is it necessary to have a new abstract type (
AbstractPTPineconeIndex
)? Probably not. - I also added a new template,
JuliaRAGAssistant
, and I put that underpersona-task
. I'm not sure that's the best place.