Accessing Fabric functionality via REST APIs #1114
LeonidShamis
started this conversation in
General
Replies: 1 comment 2 replies
-
As far as I know, there is no REST API for fabric. It would be difficult to do so since receiving a response requires using an API key. However, passing them through to any fabric function call would be possible. If you are using it locally, you could run the commands using a terminal session. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was wondering if it is possible to use Fabric via REST APIs to achieve the same functionality that is available with the CLI client.
I see that "--serve" option starts the Fabric Rest API server and the patterns, sessions and contexts endpoints become available as shown below.
However, I couldn't work out how to perform actions using patterns, e.g. how to submit a text for the "summarize" pattern, how to submit a YouTube URL for the "extract_wisdom", etc.
Essentially, I'm looking for a way to use full Fabric functionality through REST API.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions