by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    onahjay
    @onahjay
    Hi, I've been working with NLPCraft for a few days and got some of the examples to work. However, I've been unable to set up the SQL example. Currently, I'm getting quite a few errors related to the dependencies, including the Scala dependencies. I think it's related to the versions I'm using, so I was wondering what dependencies I need and what versions I should be using. Thanks for the help.
    Aaron Radzinski
    @aradzinski
    You can see all necessary dependecies in pom.xml
    Also, what's version of NLPCraft you are using? I'm assuming just 'master', correct?
    Aaron Radzinski
    @aradzinski
    skhdl
    @skhdl
    Please file an issue with version number, errors log etc - we'll look at it and help you
    onahjay
    @onahjay
    I'm using version 0.5.0. Should I be using the 'NLPCraft Parent' or the 'NLPCraft' pom.xml?
    Aaron Radzinski
    @aradzinski
    pom.xml (not parent)
    For SQL example - I’d definitely look at the latest master
    it’s been improved quite a bit
    we are trying to release 0.6.2 but running into some legal/licensing clarifications wtih ASF - so it’s delayed for this reason
    onahjay
    @onahjay
    Thanks for the help. It's working now
    Aaron Radzinski
    @aradzinski
    Glad it worked! Ping us if you have any other questions - we’d love to help.
    onahjay
    @onahjay
    Hi again. This might be a complicated question, but if you give me any help that would be great. I'm trying to extend the sql example, but I'm using a postgres database that doesn't work with the H2 server. Is there a simple solution to this problem? If not, do you have any suggestions about how to make it work? Thanks again for the help
    onahjay
    @onahjay
    Just checking in to follow up on my last message. I'm able to start the postgres server, but I don't know how to connect the probe to it. Hopefully that clarification makes the question easier.
    Aaron Radzinski
    @aradzinski
    @skhdl I think you should answer this…. (you worked on SQL example)
    (Apologies for the late response)
    skhdl
    @skhdl

    Hi @onahjay ! Pleasel look at org.apache.nlpcraft.examples.sql.db.SqlAccess - it contains H2 related logic (getConnection method)

    Note please that SqlModel is just an example of usage nlpcraft for db request generation, but not the final product.
    You have to change and adapt this example according to your own needs.