Coder Social home page Coder Social logo

Comments (5)

CahidArda avatar CahidArda commented on September 17, 2024 1

Hi @MercureTony,

Can you also share the degreegurucrawl.log so that I can check where you got this error?

I tried to recreate the error and I was able to recreate it when I ran the crawler without setting the environment variables. Are the UPSTASH_VECTOR_REST_URL and UPSTASH_VECTOR_REST_TOKEN environment variables set as explained in our guide?

Another thing I want to note, your website makes calls to populate the page with content. Our crawler will not work that well for your website. In this case, we need to apply methods like pre-rendering with Javascript using scrapy-splash. We can try to integrate this into our crawler if you are interested.

from degree-guru.

buggyhunter avatar buggyhunter commented on September 17, 2024 1

Hey @MercureTony please feel free to contribute this project, appreciated πŸ‘

from degree-guru.

MercureTony avatar MercureTony commented on September 17, 2024

Hi @CahidArda !

Thank you for getting back to me.

  1. I did set up the environment variables. See here:
Capture d’écran, le 2024-03-16 aΜ€ 07 41 06
  1. I take note of this information, I didn't know. I'd love too if you can πŸ˜„ !

from degree-guru.

CahidArda avatar CahidArda commented on September 17, 2024

Hi @MercureTony,

It looks like you set the variables in the .env.local file. That file is for the chatbot. Crawler won't be able to read the environment variables from there. To set the environment variables for chatbot, you need to export them. If you are using mac you can run export UPSTASH_VECTOR_REST_URL=****. Then you will be able to run the crawler.

I will look into adding the feature to our crawler so that your website can be crawled. In the meantime, I can suggest crawling the content on your webpage manually to create a vector store. If you populate an Upstash vector store, you can still use our app to run the chatbot.

from degree-guru.

MercureTony avatar MercureTony commented on September 17, 2024

Definitely! Thank you for letting me know, I'll test it. And I'll try to implement the feature too in meanwhile. Let's keep in touch. πŸ•Ί πŸ˜ƒ

from degree-guru.

Related Issues (6)

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.