Comments (4)
🤖
I understand you're having issues with the ChatCompletions.create
method and the tools
and tool_choice
arguments. To better assist you, could you please provide more details about the error messages you're receiving? Also, it would be helpful if you could share the specific code snippet where the issue is occurring. This will help me understand the context and provide a more accurate solution.
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from portkey-python-sdk.
🤖
Hello @nerdai,
I'm a friendly bot here to assist you with your questions, bug reports, and contributions while we wait for a human maintainer. I'm currently looking into the issue you've raised regarding the OpenAI function calling in the Portkey Python SDK. I'll provide you with a more detailed response soon!
from portkey-python-sdk.
Hello @nerdai,
We're currently investigating this. Incorporating the latest OpenAI-based updates into the package is necessary to resolve this. We're planning to release a new version of the package by the end of this week or early next week, at which point this issue should be addressed. Thank you for bringing it to our attention.
from portkey-python-sdk.
Apologies for not updating this thread on time. This was released and can be used in the latest version of this SDK. Please reopen the issue or create a new one if you face any other issues.
from portkey-python-sdk.
Related Issues (20)
- Add blurb about OpenAI wrapper benefits HOT 1
- PythonSDK: OpenAI dependency HOT 1
- PythonSDK: DevEx HOT 1
- PythonSDK: prompt methods
- PythonSDK: black dependency
- Fix: Pydantic v1 private attribute error
- Update typing dependencies version version contraint HOT 1
- Allow tools, tool_choice, logprobs and top_logprobs for chat completions HOT 1
- Fix: pydantic v2 compatibility for Optional fields HOT 1
- Too strict `mypy` dependency HOT 3
- Allow new embeddings params in python SDK HOT 1
- Bug: Cache Force Refresh not working in python SDK HOT 1
- [Bug]: portkey_ai.api_resources.exceptions.NotFoundError: Error code: 404 - Unable to find requested model. Please confirm that the model exists and you have permission. (Request ID: ) HOT 4
- Update python-sdk README (async) HOT 1
- Revamp Python SDK: Wrapper HOT 1
- [Bug]: ModuleNotFoundError: No module named 'llama_index.llms.anthropic_utils' HOT 3
- Support for Custom Host & Forward Headers HOT 2
- Python: DevEx: Suggestion HOT 1
- PythonSDK Render Method HOT 1
- Fix: build errors due to test cases HOT 1
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 portkey-python-sdk.