-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs content #39
Comments
const u = new Unbody({
apiKey: "<API_KEY>",
projectId: "<PROJECT_ID>",
}); I have to add the |
for semantic search: example 1, 2 and 3 should have 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 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
and the
|
SDK has not being updated: can't perform *Record Similarity Search using SDK unbody.get.googleDocs.search.similar("id", {...option}) |
I did not understand! could you add an example? |
|
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: |
|
No Aggregate Page |
is filters available for javascript SDK? |
does unbody JS-SDK has Image API support? |
Nope and it does not need one |
|
We need to read through the documentation and look for
The text was updated successfully, but these errors were encountered: