Skip to content

[Bug] Nemo Guardrail example doesn't work #341

@krishnashed

Description

@krishnashed

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

While running the guardrail examples present at https://github.com/pinecone-io/examples/tree/master/learn/generation/chatbots/nemo-guardrails/00-intro/config

I get the following error:
image

Expected Behavior

Bot should have responded with greeting message based on the colang code

define user express greeting
"hello"
"hi"
"what's up?"

Steps To Reproduce

$ nemoguardrails chat --config=config/

Hi

Relevant log output

> hi 
WARNING:nemoguardrails.actions.action_dispatcher:Error while execution generate_user_intent: Error code: 404 - {'error': {'message': 'The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
I'm sorry, an internal error has occurred.

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions