Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

How to use Question Answering module with TypeScript v3 client?

$
0
0

Hi @DudaNogueira ,

But in v2 you can just use

await client.graphql
  .get()
  .withClassName('Article')
  .withAsk({
    question: 'Who is the king of the Netherlands?',
    properties: ['summary'],
  })

Without running the raw query. Is this functionality planned for v3?
Because otherwise you’ll have to write a pretty complex wrapper around client.graphql.raw() by yourself if you need e.g. filters and additional params in the query (along with ask).


Viewing all articles
Browse latest Browse all 3588

Trending Articles