Find answers from the community

Updated 3 months ago

langchain-spotify-assistant/spotify_assi...

Hi, does LlamaIndex currently have any implementation/support of OpenAI's API Specs? Specifically this would be useful as an input to a tool to be used within an agent - and these API specs provide rich context on how to use the API. LangChain's implementation seems to display its usefulness.

https://platform.openai.com/docs/plugins/getting-started

https://github.com/finnelliott/langchain-spotify-assistant/blob/main/spotify_assistant.py
L
n
7 comments
This is for plugins right?
I dont think so. This is still kinda new to me, someone at work sent me this.

But from the looks of it, this looks like a way for LangChain agents to call Tools that are wrappers over an API, and the agent is informed on the tool via these OpenAI API Specs.
But I could be misunderstood. @Logan M
Pretty sure this is the plugins api πŸ€” Judging from the openai link

We had some initial work with this, but tbh the community overall has forgotten about plugins lol
https://docs.llamaindex.ai/en/stable/community/integrations/chatgpt_plugins.html

Also an agent tool on llama-hub
https://llamahub.ai/l/tools-chatgpt_plugin?from=all
Hmmmmmm, I think you're right.
I wonder why, these seem really useful for an agent to determine whether it should use an API Tool or not? Probably better than just the tool's metadata no?
Ah, it accepts both JSON and YAML. I see.
Add a reply
Sign up and join the conversation on Discord