gpgorman158 commited on
Commit
29d7b1f
1 Parent(s): d746e42

Delete Data augmented Q&A - Elvis Chatflow.json

Browse files
Data augmented Q&A - Elvis Chatflow.json DELETED
@@ -1 +0,0 @@
1
- {"nodes":[{"width":300,"height":378,"id":"recursiveCharacterTextSplitter_1","position":{"x":335.13163433044633,"y":-10.396552169633765},"type":"customNode","data":{"id":"recursiveCharacterTextSplitter_1","label":"Recursive Character Text Splitter","version":1,"name":"recursiveCharacterTextSplitter","type":"RecursiveCharacterTextSplitter","baseClasses":["RecursiveCharacterTextSplitter","TextSplitter"],"category":"Text Splitters","description":"Split documents recursively by different characters - starting with \"\n\n\", then \"\n\", then \" \"","inputParams":[{"label":"Chunk Size","name":"chunkSize","type":"number","default":1000,"optional":true,"id":"recursiveCharacterTextSplitter_1-input-chunkSize-number"},{"label":"Chunk Overlap","name":"chunkOverlap","type":"number","optional":true,"id":"recursiveCharacterTextSplitter_1-input-chunkOverlap-number"}],"inputAnchors":[],"inputs":{"chunkSize":1000,"chunkOverlap":""},"outputAnchors":[{"id":"recursiveCharacterTextSplitter_1-output-recursiveCharacterTextSplitter-RecursiveCharacterTextSplitter|TextSplitter","name":"recursiveCharacterTextSplitter","label":"RecursiveCharacterTextSplitter","type":"RecursiveCharacterTextSplitter | TextSplitter"}],"outputs":{},"selected":false},"selected":false,"positionAbsolute":{"x":335.13163433044633,"y":-10.396552169633765},"dragging":false},{"width":300,"height":413,"id":"textFile_0","position":{"x":746.0331974047526,"y":-97.23859114237021},"type":"customNode","data":{"id":"textFile_0","label":"Text File","version":1,"name":"textFile","type":"Document","baseClasses":["Document"],"category":"Document Loaders","description":"Load data from text files","inputParams":[{"label":"Txt File","name":"txtFile","type":"file","fileType":".txt","id":"textFile_0-input-txtFile-file"},{"label":"Metadata","name":"metadata","type":"json","optional":true,"additionalParams":true,"id":"textFile_0-input-metadata-json"}],"inputAnchors":[{"label":"Text Splitter","name":"textSplitter","type":"TextSplitter","optional":true,"id":"textFile_0-input-textSplitter-TextSplitter"}],"inputs":{"textSplitter":"{{recursiveCharacterTextSplitter_1.data.instance}}","metadata":""},"outputAnchors":[{"id":"textFile_0-output-textFile-Document","name":"textFile","label":"Document","type":"Document"}],"outputs":{},"selected":false},"selected":false,"positionAbsolute":{"x":746.0331974047526,"y":-97.23859114237021},"dragging":false},{"width":300,"height":330,"id":"openAIEmbeddings_0","position":{"x":690.041320012703,"y":469.3933802549608},"type":"customNode","data":{"id":"openAIEmbeddings_0","label":"OpenAI Embeddings","version":1,"name":"openAIEmbeddings","type":"OpenAIEmbeddings","baseClasses":["OpenAIEmbeddings","Embeddings"],"category":"Embeddings","description":"OpenAI API to generate embeddings for a given text","inputParams":[{"label":"Connect Credential","name":"credential","type":"credential","credentialNames":["openAIApi"],"id":"openAIEmbeddings_0-input-credential-credential"},{"label":"Strip New Lines","name":"stripNewLines","type":"boolean","optional":true,"additionalParams":true,"id":"openAIEmbeddings_0-input-stripNewLines-boolean"},{"label":"Batch Size","name":"batchSize","type":"number","optional":true,"additionalParams":true,"id":"openAIEmbeddings_0-input-batchSize-number"},{"label":"Timeout","name":"timeout","type":"number","optional":true,"additionalParams":true,"id":"openAIEmbeddings_0-input-timeout-number"},{"label":"BasePath","name":"basepath","type":"string","optional":true,"additionalParams":true,"id":"openAIEmbeddings_0-input-basepath-string"}],"inputAnchors":[],"inputs":{"stripNewLines":"","batchSize":"","timeout":"","basepath":""},"outputAnchors":[{"id":"openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings","name":"openAIEmbeddings","label":"OpenAIEmbeddings","type":"OpenAIEmbeddings | Embeddings"}],"outputs":{},"selected":false},"selected":false,"positionAbsolute":{"x":690.041320012703,"y":469.3933802549608},"dragging":false},{"width":300,"height":525,"id":"chatOpenAI_0","position":{"x":1353.6836239177526,"y":-204.1278567054942},"type":"customNode","data":{"id":"chatOpenAI_0","label":"ChatOpenAI","version":1,"name":"chatOpenAI","type":"ChatOpenAI","baseClasses":["ChatOpenAI","BaseChatModel","BaseLanguageModel","Runnable"],"category":"Chat Models","description":"Wrapper around OpenAI large language models that use the Chat endpoint","inputParams":[{"label":"Connect Credential","name":"credential","type":"credential","credentialNames":["openAIApi"],"id":"chatOpenAI_0-input-credential-credential"},{"label":"Model Name","name":"modelName","type":"options","options":[{"label":"gpt-4","name":"gpt-4"},{"label":"gpt-4-0613","name":"gpt-4-0613"},{"label":"gpt-4-32k","name":"gpt-4-32k"},{"label":"gpt-4-32k-0613","name":"gpt-4-32k-0613"},{"label":"gpt-3.5-turbo","name":"gpt-3.5-turbo"},{"label":"gpt-3.5-turbo-0613","name":"gpt-3.5-turbo-0613"},{"label":"gpt-3.5-turbo-16k","name":"gpt-3.5-turbo-16k"},{"label":"gpt-3.5-turbo-16k-0613","name":"gpt-3.5-turbo-16k-0613"}],"default":"gpt-3.5-turbo","optional":true,"id":"chatOpenAI_0-input-modelName-options"},{"label":"Temperature","name":"temperature","type":"number","step":0.1,"default":0.9,"optional":true,"id":"chatOpenAI_0-input-temperature-number"},{"label":"Max Tokens","name":"maxTokens","type":"number","step":1,"optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-maxTokens-number"},{"label":"Top Probability","name":"topP","type":"number","step":0.1,"optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-topP-number"},{"label":"Frequency Penalty","name":"frequencyPenalty","type":"number","step":0.1,"optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-frequencyPenalty-number"},{"label":"Presence Penalty","name":"presencePenalty","type":"number","step":0.1,"optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-presencePenalty-number"},{"label":"Timeout","name":"timeout","type":"number","step":1,"optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-timeout-number"},{"label":"BasePath","name":"basepath","type":"string","optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-basepath-string"},{"label":"BaseOptions","name":"baseOptions","type":"json","optional":true,"additionalParams":true,"id":"chatOpenAI_0-input-baseOptions-json"}],"inputAnchors":[],"inputs":{"modelName":"gpt-3.5-turbo","temperature":0.9,"maxTokens":"","topP":"","frequencyPenalty":"","presencePenalty":"","timeout":"","basepath":"","baseOptions":""},"outputAnchors":[{"id":"chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable","name":"chatOpenAI","label":"ChatOpenAI","type":"ChatOpenAI | BaseChatModel | BaseLanguageModel | Runnable"}],"outputs":{},"selected":false},"selected":false,"positionAbsolute":{"x":1353.6836239177526,"y":-204.1278567054942},"dragging":false},{"width":300,"height":281,"id":"retrievalQAChain_0","position":{"x":1840.4527464730265,"y":317.8455968456159},"type":"customNode","data":{"id":"retrievalQAChain_0","label":"Retrieval QA Chain","version":1,"name":"retrievalQAChain","type":"RetrievalQAChain","baseClasses":["RetrievalQAChain","BaseChain","Runnable"],"category":"Chains","description":"QA chain to answer a question based on the retrieved documents","inputParams":[],"inputAnchors":[{"label":"Language Model","name":"model","type":"BaseLanguageModel","id":"retrievalQAChain_0-input-model-BaseLanguageModel"},{"label":"Vector Store Retriever","name":"vectorStoreRetriever","type":"BaseRetriever","id":"retrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever"}],"inputs":{"model":"{{chatOpenAI_0.data.instance}}","vectorStoreRetriever":"{{faissUpsert_0.data.instance}}"},"outputAnchors":[{"id":"retrievalQAChain_0-output-retrievalQAChain-RetrievalQAChain|BaseChain|Runnable","name":"retrievalQAChain","label":"RetrievalQAChain","type":"RetrievalQAChain | BaseChain | Runnable"}],"outputs":{},"selected":false},"positionAbsolute":{"x":1840.4527464730265,"y":317.8455968456159},"selected":false,"dragging":false},{"width":300,"height":459,"id":"faissUpsert_0","position":{"x":1183.1533855867863,"y":388.6466784063831},"type":"customNode","data":{"id":"faissUpsert_0","label":"Faiss Upsert Document","version":1,"name":"faissUpsert","type":"Faiss","baseClasses":["Faiss","VectorStoreRetriever","BaseRetriever"],"category":"Vector Stores","description":"Upsert documents to Faiss","inputParams":[{"label":"Base Path to store","name":"basePath","description":"Path to store faiss.index file","placeholder":"C:\\Users\\User\\Desktop","type":"string","id":"faissUpsert_0-input-basePath-string"},{"label":"Top K","name":"topK","description":"Number of top results to fetch. Default to 4","placeholder":"4","type":"number","additionalParams":true,"optional":true,"id":"faissUpsert_0-input-topK-number"}],"inputAnchors":[{"label":"Document","name":"document","type":"Document","list":true,"id":"faissUpsert_0-input-document-Document"},{"label":"Embeddings","name":"embeddings","type":"Embeddings","id":"faissUpsert_0-input-embeddings-Embeddings"}],"inputs":{"document":["{{textFile_0.data.instance}}"],"embeddings":"{{openAIEmbeddings_0.data.instance}}","basePath":"/Users/elvissaravia/Documents/faiss","topK":""},"outputAnchors":[{"name":"output","label":"Output","type":"options","options":[{"id":"faissUpsert_0-output-retriever-Faiss|VectorStoreRetriever|BaseRetriever","name":"retriever","label":"Faiss Retriever","type":"Faiss | VectorStoreRetriever | BaseRetriever"},{"id":"faissUpsert_0-output-vectorStore-Faiss|SaveableVectorStore|VectorStore","name":"vectorStore","label":"Faiss Vector Store","type":"Faiss | SaveableVectorStore | VectorStore"}],"default":"retriever"}],"outputs":{"output":"retriever"},"selected":false},"selected":false,"positionAbsolute":{"x":1183.1533855867863,"y":388.6466784063831},"dragging":false}],"edges":[{"source":"recursiveCharacterTextSplitter_1","sourceHandle":"recursiveCharacterTextSplitter_1-output-recursiveCharacterTextSplitter-RecursiveCharacterTextSplitter|TextSplitter","target":"textFile_0","targetHandle":"textFile_0-input-textSplitter-TextSplitter","type":"buttonedge","id":"recursiveCharacterTextSplitter_1-recursiveCharacterTextSplitter_1-output-recursiveCharacterTextSplitter-RecursiveCharacterTextSplitter|TextSplitter-textFile_0-textFile_0-input-textSplitter-TextSplitter","data":{"label":""}},{"source":"chatOpenAI_0","sourceHandle":"chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable","target":"retrievalQAChain_0","targetHandle":"retrievalQAChain_0-input-model-BaseLanguageModel","type":"buttonedge","id":"chatOpenAI_0-chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable-retrievalQAChain_0-retrievalQAChain_0-input-model-BaseLanguageModel","data":{"label":""}},{"source":"textFile_0","sourceHandle":"textFile_0-output-textFile-Document","target":"faissUpsert_0","targetHandle":"faissUpsert_0-input-document-Document","type":"buttonedge","id":"textFile_0-textFile_0-output-textFile-Document-faissUpsert_0-faissUpsert_0-input-document-Document","data":{"label":""}},{"source":"openAIEmbeddings_0","sourceHandle":"openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings","target":"faissUpsert_0","targetHandle":"faissUpsert_0-input-embeddings-Embeddings","type":"buttonedge","id":"openAIEmbeddings_0-openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings-faissUpsert_0-faissUpsert_0-input-embeddings-Embeddings","data":{"label":""}},{"source":"faissUpsert_0","sourceHandle":"faissUpsert_0-output-retriever-Faiss|VectorStoreRetriever|BaseRetriever","target":"retrievalQAChain_0","targetHandle":"retrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever","type":"buttonedge","id":"faissUpsert_0-faissUpsert_0-output-retriever-Faiss|VectorStoreRetriever|BaseRetriever-retrievalQAChain_0-retrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever","data":{"label":""}}]}