timothymugayi / mychatbot Goto Github PK
View Code? Open in Web Editor NEWChatGPT Chatbot with custom google doc Knowledge base
License: GNU General Public License v3.0
ChatGPT Chatbot with custom google doc Knowledge base
License: GNU General Public License v3.0
Can this be done? I.e. custom knowledge doc + chat GPT knowledge base (i.e. Sept 2021)
From what i've tried, it seems to not be able to do so and solely depends on the custom knowledge doc
When executing follow line:
index = GPTSimpleVectorIndex( documents)
There is a error:
ValueError: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use from_documents
instead.
Hi Tim - love the logic behind this LLama Chatgpt linkage.
Ive created the project and code but when I run I get the following error
response = index.query(prompt)
AttributeError: 'function' object has no attribute 'query'
Its pointing to this part in the code
while True:
prompt = input("Type prompt...")
response = index.query(prompt)
print(response)
Im guessing either Ive missed an install in the environment on my side or Im calling the llama function wrong (but the code is just copied over with credentials and googdoc ID changed).
Any ideas who to get past it?
S
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.