Giter VIP home page Giter VIP logo

Comments (4)

AnaArkus avatar AnaArkus commented on June 12, 2024

Hello, I just wanted to add that I am getting a similar error, but with postgres. I am using docker and I fixed this error adding :
RUN /py/bin/pip install embedchain && \ /py/bin/pip install --upgrade 'embedchain[postgres]'
However, I when I called app.query("what ever question") I am getting something that looks like the prompt, and not the answer. Example of response when calling app.query(): "\nYou are a Q&A expert system. Your responses must always be rooted in the context provided for each query. Here are some guidelines to follow:\n\n1. Refrain from explicitly mentioning the context provided in your response.\n2. The context should silently guide your answers without being directly acknowledged.\n3. Do not use phrases such as 'According to the context provided', 'Based on the context, ...' etc.\n\nContext information:.
The way how I am creating the app instance is the following :
from embedchain import App
app = App.from_config("mistral.yaml")

I am still trying to get the answer when calling app.query() function.

from embedchain.

erasherra avatar erasherra commented on June 12, 2024

I got similar error with embedchain also after running the 'pip install --upgrade "embedchain[dataloaders]"' command however it seems that the embedchain is using langchain-community version 0.0.20 which seems to cause the problem. I downgraded the langchain-community package to version 0.0.19 (pip install langchain-community==0.0.19). After that it started working. However there might be dependency problems with the solution. More here: https://stackoverflow.com/questions/77994079/no-module-named-pwd-while-use-from-langchain-community-document-loaders-impor

from embedchain.

Dev-Khant avatar Dev-Khant commented on June 12, 2024

@meru2024 Here you need to install extra packages for PDF file loader using this command pip install --upgrade "embedchain[dataloaders]"

from embedchain.

Dev-Khant avatar Dev-Khant commented on June 12, 2024

@AnaArkus Can you please share the complete code like what's the data source and which model are you using?

from embedchain.

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.