askmybook's People
Forkers
arluigi gary-limo bigdatasciencegroup mominkaleem odufuwa-segun benjaminearlevans lsshawn bacanapps parvazcazi wahabshaikh toniengelhardt abesamma maddyonline hackingthemarkets mikkalmc lexknowsbest nanobeep 0xsmw shelan jayshah96 zoutiger isnotasword smorin mpclarkson mdunn1234 babivillanova pyramidagi dnzengou sebastianschoeps saikatkumardey scott------ maxpumperla julgus stanleyjacob ms914 h-h-e martinbowling kumardeepam braedengoodwin johnfewell suryatmodulus r-olivaw praveenreddy84 kesonother thunderwilson jchiare nara-assistant karlwaldman seanonchain deriegle benmarcilhacy loganaljones 301-lab4-participation-exercise playerrrrr sj-nw dinstructor christeso shriniket73 gregorymostizky sirkyven andrewlynch anew-bhav yasinya aliarain jeffersonhwang secfigo bebekim xrimmersion filipefmelo kylelegare lifonnnn mohendran epiccodewizard allanstarr023 helkas mantenn mivanovitch seanwlawrence enriqueiturriagaa zehntinel whoami15 edgency didivassi dantenoguez piotrlnordea alabarga aizarra shafayetkhan slinlee vgraupera afogel artemkolmykov dylanbrown508 syedzubairahmed001 lserafin vamelnyk smiti-maheshwari darianrusu carloscdante polya20askmybook's Issues
Upgrade to new embeddings model text-embedding-ada-002
Should make this significantly cheaper and faster
ValueError: invalid literal for int() with base 10: 'content'
[OKAY] Loaded ENV .env File as KEY=VALUE Format
2:24:44 PM web.1 | [2023-01-16 14:24:44 -0700] [226789] [INFO] Starting gunicorn 20.1.0
2:24:44 PM web.1 | [2023-01-16 14:24:44 -0700] [226789] [INFO] Listening at: http://0.0.0.0:33555 (226789)
2:24:44 PM web.1 | [2023-01-16 14:24:44 -0700] [226789] [INFO] Using worker: sync
2:24:44 PM web.1 | [2023-01-16 14:24:44 -0700] [226790] [INFO] Booting worker with pid: 226790
2:24:48 PM web.1 | Internal Server Error: /ask
2:24:48 PM web.1 | Traceback (most recent call last):
2:24:48 PM web.1 | File "/home/loganjones/.local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
2:24:48 PM web.1 | response = get_response(request)
2:24:48 PM web.1 | ^^^^^^^^^^^^^^^^^^^^^
2:24:48 PM web.1 | File "/home/loganjones/.local/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
2:24:48 PM web.1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
2:24:48 PM web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2:24:48 PM web.1 | File "/home/loganjones/.local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
2:24:48 PM web.1 | return view_func(*args, **kwargs)
2:24:48 PM web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2:24:48 PM web.1 | File "/home/loganjones/CMPUT/QueryMyBook/hello/views.py", line 167, in ask
2:24:48 PM web.1 | document_embeddings = load_embeddings('book.pdf.embeddings.csv')
2:24:48 PM web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2:24:48 PM web.1 | File "/home/loganjones/CMPUT/QueryMyBook/hello/views.py", line 84, in load_embeddings
2:24:48 PM web.1 | max_dim = max([int(c) for c in df.columns if c != "title"])
2:24:48 PM web.1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2:24:48 PM web.1 | File "/home/loganjones/CMPUT/QueryMyBook/hello/views.py", line 84, in
2:24:48 PM web.1 | max_dim = max([int(c) for c in df.columns if c != "title"])
2:24:48 PM web.1 | ^^^^^^
2:24:48 PM web.1 | ValueError: invalid literal for int() with base 10: 'content'
500 Error When Heading to /ask
Hiya,
Not my usual area of extpertise but the demo was so impressive I had to give it a go.
I got everything up and running however I can't get any answers out of it, when I sumbit the request I get a 500 error and visiting the /ask page does the same.
Any suggestions, or where I can look for app based debug logs?
Suggestion: Using ada-002 for embeddings
Hi, this is a great project! I noticed OpenAI has recently published embedding model v2 ada-002 which is "cheaper, faster, better and simpler." https://openai.com/blog/new-and-improved-embedding-model/. One suggestion update the project to switch to using this newest one.
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.