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

Few-shot and function calling - API - OpenAI Developer Forum #506

Open
1 task
irthomasthomas opened this issue Feb 4, 2024 · 0 comments
Open
1 task
Labels
Code-Interpreter OpenAI Code-Interpreter in-context-learning Examples of few-shot prompts for in-context learning. llm-function-calling Function Calling with Large Language Models openai OpenAI APIs, LLMs, Recipes and Evals prompt Collection of llm prompts and notes prompt-engineering Developing and optimizing prompts to efficiently use language models for various applications and re python Python code, tools, info TIL Short notes or tips on coding, linux, llms, ml, etc

Comments

@irthomasthomas
Copy link
Owner

CONTENT:

# Few-shot and function calling - API - OpenAI Developer Forum

And furthermore, conversation history can have even more context and logic when it includes the AI’s answer based on that function.

- **User**: Post a tweet for me 'AI can affect the outside world!'
- **Function**: twitter_post
- **Assistant**: Twitter API: message to xxx user account success
- **User**: It's posted, the world should be able to see your message.
- **User**: Help with math. What is sin(333)?
- **Function**: wolfram_alpha
- **Assistant**: -0.00882 rad

That will prevent situations where it could loop asking the same function call countless times or doesn’t know how well it answered. It also will be able to then build on the context of its prior answers in formulating new responses asking about them.

[Link to the forum post](https://community.openai.com/t/few-shot-and-function-calling/265908/21)

Suggested labels

{ "label-name": "context-aware-AI", "description": "AI with conversation history and logic", "confidence": 96.86 }

@irthomasthomas irthomasthomas added Code-Interpreter OpenAI Code-Interpreter llm-function-calling Function Calling with Large Language Models New-Label Choose this option if the existing labels are insufficient to describe the content accurately openai OpenAI APIs, LLMs, Recipes and Evals python Python code, tools, info TIL Short notes or tips on coding, linux, llms, ml, etc prompt Collection of llm prompts and notes prompt-tuning in-context-learning Examples of few-shot prompts for in-context learning. prompt-engineering Developing and optimizing prompts to efficiently use language models for various applications and re labels Feb 4, 2024
@irthomasthomas irthomasthomas removed the New-Label Choose this option if the existing labels are insufficient to describe the content accurately label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code-Interpreter OpenAI Code-Interpreter in-context-learning Examples of few-shot prompts for in-context learning. llm-function-calling Function Calling with Large Language Models openai OpenAI APIs, LLMs, Recipes and Evals prompt Collection of llm prompts and notes prompt-engineering Developing and optimizing prompts to efficiently use language models for various applications and re python Python code, tools, info TIL Short notes or tips on coding, linux, llms, ml, etc
Projects
None yet
Development

No branches or pull requests

1 participant