codeinterpreter-api icon indicating copy to clipboard operation
codeinterpreter-api copied to clipboard

👾 Open source implementation of the ChatGPT Code Interpreter

Results 62 codeinterpreter-api issues
Sort by recently updated
recently updated
newest added

I took code from the first example in readme file: ``` from codeinterpreterapi import CodeInterpreterSession, settings # create a session and close it automatically with CodeInterpreterSession() as session: # generate...

**I don't come from CS.** I changed the API key. I pasted the code of the iris dataset analysis changing the path, for a different dataset. I got that error.

When python code in "arguments", it would post this error. Error in CodeInterpreterSession: ValueError - An output parsing error occurred. In order to pass this error back to the agent...

Could you please help me out on this issue? 1st run time good: (venv) PS C:\Users\zhang\Downloads\codeinterpreter-api\examples> python show_ethereum_chart.py AI: Here is the Ethereum price chart for the year-to-date 2023. The...

Hi, After I put my api key in .env.example file, I am still getting this error ```Traceback (most recent call last): File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.__dict__) File...

ModuleNotFoundError: Jupyter Kernel Gateway not found, please install it with: `pip install jupyter_kernel_gateway` to use the LocalBox. Traceback: File "C:\Users\sonic\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script exec(code, module.__dict__) File "C:\codeinterpreter-api\frontend\app.py", line 104,...

No idea why I get this error ``` Traceback (most recent call last): File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.__dict__) File "C:\Users\super\OneDrive\Desktop\Bridge_Legal\codeinterpreter-api\frontend\app.py", line 38, in loop.run_until_complete(get_images(input_text, files=uploaded_files_list)) File "C:\Users\super\anaconda3\envs\textgen\lib\asyncio\base_events.py",...

when i run examples/analyze_dataset.py,get this error: ` async with CodeInterpreterSession() as session: File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 70, in __init__ self.llm: BaseLanguageModel = llm or self._choose_llm() File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 144, in _choose_llm...

I cloned your repository (directory is `/Users/yoshinaga/Work/Project/`), and set `OPENAI_API_KEY` (`export OPENAI_API_KEY="sk-xxxxx"`) and executed the example (`python examples/analyze_dataset.py`). However, the following error was occured. How should I deal with this?...

Mycode: ``` def main(): with CodeInterpreterSession() as session: response = session.generate_response_sync( f"Plot the bitcoin chart of 2023 YTD ", detailed_error = True ) # prints the text and shows the...