custom-knowledge-chatbot's People
Forkers
jcmauss krish240574 isantoso richruizv divinejoshua osu78 mar480 wyldlynx marcianobarros20 willyerburgh impedevted shaggydogg117 dingdalton pseudopixels ronakdinesh manpreetsingh-o18 prashantramappa annias sunnydeed blackwhites zmjmickey nhruska saneetaj acousticpenguin ankitrana2709 metaminis mnarasimhan02 blakebarrios fetpo devmiro maxanjo torientalvortx samuelbahri lordguerdo alanristic mitiok2002 halitmancar ninjapumpkin scriptonics jrubright bobbyshaftoe mariavarg aisandpit deinertdynasty scsun1978 nicosartor wmsullivan tavongax mujibhalimi erickwill brandino cocolombo hirajanwin aurioldegbelo m4r71n85 anupgoenka astrokathi snorlaxchoi stephaniec2020 mattluke bfcgit12 niteshpk nepotis mark-kens cristianrohr abderrahmaneizri oladotun87 myronlo ccibeekeoc42 edskamor philip3811 gdpot mamblor namong19 jiangcongtao reach-abay mattt000 vverbo raykguy sviixp edisonzf2020 yanggautier namdoel1412 userseo1 sonicman06 vdsd82 tungle1411 ujaotechnologies nqadirgs sewelllu kokuljose preecee hostcommdev jtbrown6 trevortran sagerock bilalstam seshakiran matsinator123 ddsh79custom-knowledge-chatbot's Issues
When i create an index of documents
Looks like a typo in generate_response()
I assume the last line should use "prompt" not "user_input" in the call to query()
def generate_response(self, user_input):
prompt = "\n".join([f"{message['role']}: {message['content']}" for message in self.chat_history[-5:]])
prompt += f"\nUser: {user_input}"
response = index.query(user_input)
Customize your LLM for different output
OpenAI is not defined error, we seem to be missing an import in the code?
Problem with .rtf files containing special characters in the repo
Hello,
I encountered an issue while trying to clone the custom-knowledge-chatbot repository on a Windows machine. The issue is related to .rtf files with special characters (specifically question marks) in their file names. Windows does not allow the use of certain special characters in file names, including question marks, which leads to an error during the cloning process.
Here is an example of an invalid file path causing the issue:
custom-knowledge-chatbot/asos/Can you tell me more about your ASOS Premier service in Saudi Arabia? .rtf
I suggest updating the file names by removing or replacing the special characters (e.g., replacing the question mark with a hyphen) to make the repository compatible with Windows. This change would make it easier for Windows users to clone and work with your repository without encountering errors.
Thank you for your attention to this matter, and please let me know if you need any further information or assistance.
Very truly yours,
Reno Fernandez
PS: This email was generated using GPT-4. I figured you would appreciate that.
Problem with querying index
Outdated libraries
Hi, the code does not work any more, but anyone can recover the right behaviour by installing old versions of the libraries:
Just use this:
!pip install llama_index==0.4.27
!pip install langchain==0.0.109
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.