Giter VIP home page Giter VIP logo

Comments (3)

sonlige avatar sonlige commented on July 19, 2024 1

@timothycarambat Thank you for your reply. I successfully uploaded the file by modifying the embedder and changing it to the Ollama connection.

from anything-llm.

dalekirkwood avatar dalekirkwood commented on July 19, 2024

I'm getting this error every time I try to upload a file - I'm running on Railway but we are considering the cloud version. We just wanted to test. Is the cloud version more reliable?

Error: Unexpected token '<', "<!doctype "... is not valid JSON

Could this be the same bug or should I open a new ticket?

from anything-llm.

timothycarambat avatar timothycarambat commented on July 19, 2024

@sonlige - Qwen is an LLM, what are you using for your embedding model. I have seen people try to use an LLM as their embedder and that usually is the issue for some. If you are using the default embedder this shouldn't be an issue. What is your setup?

@dalekirkwood the error you got indicates that the upload failed from trying to embed a large file. Its worth noting that the built-in embedder runs on CPU and even a moderate document on Railways default container size is one 1vCPU and like 512MB of RAM and will crash unless you allocate more resources.

Check the logs and/or resources and you'll probably see it maxed out and that is why it crashed. Railway will auto-reboot on crash, but the logs will persist from the crash. If it crashes with no exit code, that is the reason.

from anything-llm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.