Comments (4)
Please take a look at https://github.com/64bit/async-openai/tree/main/examples/assistants-func-call-stream
it has multiple function calls, same idea can be applied for chat completions?
from async-openai.
Please take a look at https://github.com/64bit/async-openai/tree/main/examples/assistants-func-call-stream it has multiple function calls, same idea can be applied for chat completions?
Thanks, I defined multiple functions, but basically the first one will be executed every time. Others can also be executed, but the probability of triggering is not as high as the first one. I don't know why. Also, when I ask some regular questions that don't require function calls at all, she will also adjust a certain function, which also makes me confused. . .
from async-openai.
Your queries are specific to behavior of the API, right channel for it is official OpenAI channels:
from async-openai.
Your queries are specific to behavior of the API, right channel for it is official OpenAI channels:
Thanks
from async-openai.
Related Issues (20)
- Initialize `Client` with custom HTTP client, config, and backoff HOT 3
- Usage of std::thread::sleep inside async function in assistants example HOT 1
- Add retry on 504 Gateway Time-out and "connection closed before message completed" HOT 5
- Missing fields in `CreateTranscriptionResponse` HOT 2
- Supporting streams when running assistants HOT 3
- Set OPENAI_API_BASE to environment variable HOT 1
- Open
- Deserialize error when retrieve content HOT 2
- Failing to deserialize API response when translating audio with SRT output HOT 5
- &chat_choice.delta.function_call in the function-call-stream example has been deprecated HOT 2
- How to call async function through function-call HOT 2
- The type of messages in deserialized CreateChatCompletionRequest are all SystemMessage HOT 5
- assistants header HOT 1
- Spec sync May 2024
- Running the `assistants` example results in Error HOT 4
- Wrong type of function tools in Assistant
- Failing to deserialize `VectorStoreFileObject` HOT 4
- CreateChatCompletionRequest.max_tokens should be u32 HOT 1
- Error when using assistant HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-openai.