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

code interpreter not working #33

Open
andaag opened this issue Jan 15, 2024 · 2 comments
Open

code interpreter not working #33

andaag opened this issue Jan 15, 2024 · 2 comments
Assignees

Comments

@andaag
Copy link

andaag commented Jan 15, 2024

I tested the example case:

The result indicates that the weight of a brick (B) is approximately 5.172 kg and the weight of a GPU (G) is approximately 2.414 kg

The output ends with "lets do that now", and it seems the next part of it is not executed/fetched.

(Also cool project 👍, haven't seen any other telegram capable api that allows use of this beta api yet).

@andaag andaag changed the title support for code interpreter? code interpreter not working Jan 15, 2024
@andykras
Copy link
Owner

thanks for kudos @andaag, checked, all good.

create a new assistant with "code interpreter", add it to tutors.yaml, select one (/tutor) before questions.

image
image

note: can't send files in chat yet. if code interpreter makes a file, you won't see it in chat

from logs: tools=[ToolCodeInterpreter(type='code_interpreter'), ToolRetrieval(type='retrieval')]

image

@andykras andykras self-assigned this Jan 15, 2024
@andaag
Copy link
Author

andaag commented Jan 16, 2024

image

I had a few conversations going with it, and I realize what happened. If the assistant split the messages in two I think the responses from gptbot is mixed. Notice how answer comes before description on how you arrive at the conclusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants