Antworten aus der IBM Dokumentation erhalten
watsonx Code Assistant Schnupperangebot Essentials-Angebot Standard-Angebot
Nutzen Sie den Chat, um Fragen zu stellen, die sich auf die Produktdokumentation IBM und Red Hat beziehen.
Diese Funktion erfordert einen IBM Cloud Testversion, Essentials oder Standardplan. Sie ist nicht verfügbar, wenn Sie watsonx Code Assistant Individual verwenden, um auf ein lokales IBM Granite zuzugreifen.
Chat-Syntax für Fragen zur Dokumentation
Die Chat-Syntax lautet:
/docs [collection:<collection_name>] <your question>
Die Website collection_name ist fakultativ. Wenn keine Sammlung angegeben wird, wird ibm_docs verwendet.
Folgende Dokumentationssammlungen sind verfügbar:
| Sammlung | Quelle | URL-Referenz |
|---|---|---|
ibm_docs |
IBM Documentation | https://www.ibm.com/docs |
cloud_docs |
IBM Cloud-Dokumentation | https://cloud.ibm.com/docs/ |
redhat |
Red Hat Dokumentation | https://docs.redhat.com/products |
ibm_redbooks |
IBM Redbooks veröffentlichungen | https://www.redbooks.ibm.com/ |
support_docs |
IBM Support-Inhalte | https://www.ibm.com/support/ |
general_technical_docs |
IBM Forschung und SecurityIntelligence | https://research.ibm.com/ und https://securityintelligence.com/articles |
Beispiele
| Typ | Beispielfrage |
|---|---|
| Allgemeine Informationen zum Produkt | /docs what are the different IBM Cognos Analytics offerings for which IBM provides commands to? |
| Eine Aufgabe ausführen | /docs What is the command to back up a database in Db2? Enclose the command in code blocks. |
| Fehlersuche bei einem Fehlercode | /docs collection:support_docs I am getting this error: Internal error occurred: SCAPI error: The value on row 1,029 is not a valid string while previewing a data asset using import node. Can you provide a workaround for this? |
| Abfrage einer bestimmten Sammlung | /docs collection:redhat What are Machine pools in Cluster administration nodes in Red Hat OpenShift dedicated? |
Tipps:
Mit diesen Tipps können Sie Ihre ' /docs ragen verbessern.
Verwenden Sie den Produktnamen
Achten Sie darauf, dass Sie den Produktnamen angeben. How to back up a database lassen sich zwar Ergebnisse aus Db2 abrufen, aber " How to back up a Db2 database funktioniert besser.
Versionsnummern
Die von watsonx Code Assistant verwendete Quelle enthält die Dokumentation zu den neuesten Versionen der IBM. Fragen zu älteren Versionen funktionieren möglicherweise, wenn Sie die Versionsnummer in Ihrer Anfrage angeben.
Kontext
Wenn watsonx Code Assistant eine ' /docs-Frage beantwortet, wird kein anderer Kontext aus Ihrem Chat-Fenster oder offenen Dateien verwendet. Der Kontext wird der IBM Produktdokumentation entnommen.
Die Antwort auf eine ' /docs wird Teil Ihres Chat-Kontextes. Ihre nächste Chat-Frage kann die Antwort auf die Dokumentation als Kontext nutzen, um watsonx Code Assistant zu unterstützen.
Sie können zum Beispiel fragen: ' /docs what is the command to back up a Db2 database. Format the command in Markdown.
Wenn Sie die Antwort mit dem Befehl erhalten, können Sie fragen: " Create a script to back up the Db2 database REVENUE und Sie sollten eine Antwort erhalten, die die Befehlssyntax aus der Dokumentation verwendet.