gilfernandes / chat_functions Goto Github PK
View Code? Open in Web Editor NEWSimple playground chat app that interacts with OpenAI's functions with memory and custom tools.
Simple playground chat app that interacts with OpenAI's functions with memory and custom tools.
Hi @gilfernandes I like the structure and the code.
I have one question regarding the EventsAPIWrapperClass which has
filter_by_country: str = "United Kingdom"
which is hard coded and the query is dynamic parameter in the run function.
How to make also filter_by_country dynamic parameter?
python agent_cli.py
that is to ruunnig this code???
I think that is not working for me...
I just enter hi..
that code waitting for time out error..
with local llm this code makes error..
please help me
\"/home/jblee/.pyenv/versions/env_chat_func/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 271, in wrapper\n return func(args, *kwargs)\n\n\n File \"/home/jblee/.pyenv/versions/env_chat_func/lib/python3.10/site-packages/openai/resources/chat/completions.py\", line 648, in create\n return self._post(\n\n\n File \"/home/jblee/.pyenv/versions/env_chat_func/lib/python3.10/site-packages/openai/_base_client.py\", line 1179, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n\n\n File \"/home/jblee/.pyenv/versions/env_chat_func/lib/python3.10/site-packages/openai/_base_client.py\", line 868, in request\n return self._request(\n\n\n File \"/home/jblee/.pyenv/versions/env_chat_func/lib/python3.10/site-packages/openai/_base_client.py\", line 959, in _request\n raise self._make_status_error_from_response(err.response) from None\n\n\nopenai.BadRequestError: Error code: 400 - {'error': {'message': \"'virnect twin' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'functions.5.name'\", 'type': 'invalid_request_error', 'param': None, 'code': None}}" Failed to process tell me about virnect tiwn infromation Error Error code: 400 - {'error': {'message': "'virnect twin' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'functions.5.name'", 'type': 'invalid_request_error', 'param': None, 'code': None}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.