Giter VIP home page Giter VIP logo

Comments (9)

sanlega avatar sanlega commented on July 28, 2024 1

I had the same problem, it seems that the document "parser" in langchan in this code is deprecated i had to change some files that contained those imports and it was ok then but either way, pinecone didnt receive the data. I think that the token length counter for the vector creation is not working fine but idk

from openchat.

sanlega avatar sanlega commented on July 28, 2024 1

I changed them before running the containers, one was on the pages directory. You can use 'grep' in the terminal to look for the 2 files that have to be changed, be careful because in one file there are 2 documen loaders but only one is the deprecated one, i think.

grep -rnw '.' -e 'langchain/document_loaders'

from openchat.

gharbat avatar gharbat commented on July 28, 2024 1

It seems there is an issue with the shared volume not syncing between containers, I'm working on a fix and will release a new update with many bugs resolved this weekend.

Also will add a validation when running the make command so it tells you if your apis keys are ok or not.


@eduardosantosjr
agree, hot reload indeed is a good idea, I will ship it this weekend.

I'll drop a message on the discord server once the update is shipped :)

https://discord.gg/yjEgCgvefr

from openchat.

eduardosantosjr avatar eduardosantosjr commented on July 28, 2024

Make sure you've put key values before run make install command. If you do this after, you'll have to do the same in .env file or even delete it before run make install again.

from openchat.

sanlega avatar sanlega commented on July 28, 2024

Make sure you've put key values before run make install command. If you do this after, you'll have to do the same in .env file or even delete it before run make install again.

I did it a bunch of times no mater how i did it it doesn't work. Right now im trying it on a M1 mac but i also tried in a windows x64 and a mac x64.

from openchat.

eduardosantosjr avatar eduardosantosjr commented on July 28, 2024

There is another problem after this step that I'm trying to figure out the reason. Check if you're in the same situation.
By the way, I'm using a m1 mac.

image

from openchat.

eduardosantosjr avatar eduardosantosjr commented on July 28, 2024

So which files you had changed? I've tried fixing it using the commands below inside llm-server container.

npm update
npm install
node node_modules/node-sass/scripts/install.js
npm rebuild node-sass

from openchat.

eduardosantosjr avatar eduardosantosjr commented on July 28, 2024

I was debugging the code and find out the error:
In file ingest.ts, code are trying load a uncreated path file. So, its not about the deprecated dependence (despite its not a good thing). If I find something more I tell you guys.

Ps.: A hot-reload could be a good thing ⏩

image

from openchat.

gharbat avatar gharbat commented on July 28, 2024

Introduced windows support in https://github.com/openchatai/OpenChat/releases/tag/0.3.0 if you have any other issues, please feel free to open a new issue :)

from openchat.

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.