Skip to content

The Code is not working .... #7

Description

@vikrams1

When ever the code is executed different error are coming.. Just attached one error ....also llamaindex version mentioned in the package. Json is not working ..Even though i upgrade it still the code is not working.

Kindly check the issue...

Details :

Using OpenAI API key for authentication
{nom' is not recognized as an internal or external command,
openAiConfig: {or batch file.
apiKey: '846qPtPwIEjmsAxiMPar8c8CaWNF76I45F3oczobPitvpTWMVGHLJQQJ99BDAC77bzfXJ3w3AAABACOGJnUP'
}Personal\llama-index-vector-search-javascript>npm run generate
}
Initializing Azure AI Search Vector Store.0 generate
(node:4980) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
D:\Personal\llama-index-vector-search-javascript\app\api\chat\engine\settings.ts:126
new AzureAISearchVectorStore({
^

TypeError: import_llamaindex.AzureAISearchVectorStore is not a constructor
at initSettings (D:\Personal\llama-index-vector-search-javascript\app\api\chat\engine\settings.ts:126:5)
at (D:\Personal\llama-index-vector-search-javascript\app\api\chat\engine\generate.ts:39:9)
at (D:\Personal\llama-index-vector-search-javascript\app\api\chat\engine\generate.ts:42:1)
at Object. (D:\Personal\llama-index-vector-search-javascript\app\api\chat\engine\generate.ts:42:4)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Object.transformer (D:\Personal\llama-index-vector-search-javascript\node_modules\tsx\dist\register-DCnOAxY2.cjs:2:1186)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions