generate(
query: string,
generate: GenerateOptions<undefined, GenerativeConfigRuntime | undefined>,
options: any
): | Name | Type | Description |
|---|---|---|
query* | string | |
generate* | GenerateOptions<undefined, GenerativeConfigRuntime | undefined> | |
options | any |
Weaviate's Retrieval Augmented Generation (RAG) combines information retrieval with generative AI models. It first performs the search, then passes both the search results and your prompt to a generative AI model before returning the generated response.
The query to search for.
available options for the generation. Check docs for complete list
available options for performing the hybrid search