Open amirhouieh opened 1 month ago
const u = new Unbody({
apiKey: "<API_KEY>",
projectId: "<PROJECT_ID>",
});
I have to add the !
at the end of the keys. Is that expected behavior? or that could be changed in the SDK definition?
for semantic search:
example 1, 2 and 3 should have exec
function and also must show how to destructure the data as something like this:
const { data: { payload } } = await unbody.get.googleDoc.search.about("search_string").exec();
same for Keyword search example:
const { data: { payload } } = await unbody.get.googleDoc.search.find("search_keyword").exec();
I feel like every code example should also include how you can destructure the output, and every query should have a exec
function.
here as well in Semantic search > nearVector search
unbody.get
.article
.nearVector({
vector: [...vector representing “web development”...],
moveTo: {
concepts: ["frontend", "backend"],
force: 0.5
}
})
.exec()
also
nearText
and nearVector
documentation needs to be updated because nearVector
doesn't show any moveTo
property.
and the vector
property these searches has is very confusing, I don't know what it is trying to convey.
SDK has not being updated:
can't perform *Record Similarity Search using SDK
unbody.get.googleDocs.search.similar("id", {...option})
const u = new Unbody({ apiKey: "<API_KEY>", projectId: "<PROJECT_ID>", });
I have to add the
!
at the end of the keys. Is that expected behavior? or that could be changed in the SDK definition?
I did not understand! could you add an example?
SDK has not being updated:
can't perform *Record Similarity Search using SDK
unbody.get.googleDocs.search.similar("id", {...option})
@jeangovil
SDK has not being updated:
can't perform *Record Similarity Search using SDK
unbody.get.googleDocs.search.similar("id", {...option})
That's not the correct syntax, here's the correct way:
unbody.get.googleDoc.similar.record('id', {}).exec()
@jeangovil then It need to be updated in the docs because the docs has:
unbody.get
.googleDoc
.search
.similar
.record("specificDocId");
also in the Generative Search Example 1:
The exact same query as:
unbody.get
.textBlock
.generate
.fromOne("Transform this historical fact into a captivating tweet: {content}")
.exec()
throws a error as:
[
{
locations: [ [Object] ],
message: 'explorer: list class: extend: extend generate: Prompt does not contain any properties. Use {PROPERTY_NAME} in the prompt to instuct Weaviate which data to use',
path: [ 'Get', 'GoogleDoc' ]
},
digest: '3288676927'
]
QnA Example 1:
The same query gives an error as:
includeMeta
and orderBy
is not in the SDK
No Aggregate Page
is filters available for javascript SDK?
does unbody JS-SDK has Image API support?
does unbody JS-SDK has Image API support?
Nope and it does not need one
is filters available for javascript SDK?
We need to read through the documentation and look for