Skip to content
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

Prompt LLMs in the generative AI hub in SAP AI Core #23459

Open
bradycale-taulia opened this issue Feb 22, 2024 · 0 comments
Open

Prompt LLMs in the generative AI hub in SAP AI Core #23459

bradycale-taulia opened this issue Feb 22, 2024 · 0 comments

Comments

@bradycale-taulia
Copy link

Tutorials: https://developers.sap.com/tutorials/ai-core-generative-ai.html

This tutorial appears to have a few mistakes or outdated references in it.

I used the python GENERATIVE AI HUB SDK client and I found that:

  1. Under "Querying the LLM" section this article says to run "aicore-llm configure -k keys.txt", but it actually should be "aicore configure -k keys.txt"
  2. In all the examples this article states the python code to call a prompt should be "chat.invoke(xyz)" but it actually should be llm.invoke(xyz)"
  3. In the "Querying the LLM" section, this article makes a reference/uses embeddings that aren't used anywhere else, running that line of code won't work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant