pgrennin / ai_question_answer_web_template Goto Github PK
View Code? Open in Web Editor NEWA web app template for doing AI Question and Answering with sources using Langchain.
License: MIT License
A web app template for doing AI Question and Answering with sources using Langchain.
License: MIT License
I get this error when I try to create embeddings:
Creating embeddings for file: /app/app/models/../assets/raw/.DS_Store and saving to: /app/app/models/../assets/embeddings//.DS_Store.embedding.pkl Creating embeddings... Traceback (most recent call last): File "/app/create_embeddings.py", line 11, in <module> EmbeddingsService.create_embeddings(filename_to_embed) File "/app/app/models/embeddings_service.py", line 27, in create_embeddings EmbeddingsService.create_embeddings_for_file(file) File "/app/app/models/embeddings_service.py", line 40, in create_embeddings_for_file EmbeddingsService.create_embeddings_and_save(raw_file_path, embedded_file_path) File "/app/app/models/embeddings_service.py", line 49, in create_embeddings_and_save file_to_split = f.read() ^^^^^^^^ File "<frozen codecs>", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte ERROR conda.cli.main_run:execute(47):
conda run python /app/create_embeddings.py failed. (See above for error)
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.