Skip to content

Are there good examples for using with public REST APIs? #153

Answered by Danielskry
entact-rabo asked this question in Q&A
Discussion options

You must be logged in to vote

I created a small Flask API repository Gorilla-Interaction-API to showcase just how good Gorilla can be, even at random tasks like:

# Given query
query: str = "I need to react with three words, word wow, word test, word acting"
# With schema
functions = [
            {
                "name": "React",
                "api_name": "functioncall_react",
                "description": "Find three words from the sentence",
                "parameters":  [
                    {"name": "word1", "description": "A word"},
                    {"name": "word2", "description": "A word"},
                    {"name": "word3", "description": "A word"}
                ]
            }
        ]

Gives:

{
…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ShishirPatil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants