functiontesting

package
v0.7.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAnsysGPTACSSearchIndex

func TestAnsysGPTACSSearchIndex(indexName string, query string)

TestAnsysGPTACSSearchIndex tests the AnsysGPTACSSemanticHybridSearch function. The function takes an index name and a query string as input. The function performs vector embedding on the query string and extracts fields from the query. The function then performs a semantic hybrid search on the index using the embedded query and extracted fields. The function prints the output of the search.

Parameters:

  • indexName: the name of the index to search
  • query: the query string to search for

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL