bia-bob
bia-bob copied to clipboard
BIA Bob is a Jupyter+LLM-based assistant for interacting with image data and for working on Bio-image Analysis tasks.
closes #26 closes #96
as alternate to #95 #26 or #33 https://templates.langchain.com/?integration_name=rag-chroma-multi-modal
Recently, I see more often output like this:  ... where code is not given as code but as text output...
We might explore how reflection could improve code quality of generated code. I recently saw multiple examples where agents were enabed to produce higher-quality output because the result of the...
Since January 2024, there is an alias `gpt-4-turbo-preview` for the last released gpt4 turbo model. We should consider using it if it turns out that repeaded updated models worked reliably....
Now that we have custom kernel(s) (since #107), it would be great if the user could choose the model, too. Therefore, we need to implement a logic in __main__.py so...
if we want to compute the price for a request we may not have to count the tokens ourselves, as they seem to be provided by the model response: https://platform.openai.com/docs/guides/text-generation/chat-completions-response-format
We should update the code so that the list of available models is dynamic. I couldn't find how to do this using the Python API. The REST-API allows it already:...
... would be possible using code like this: ``` from ipylab import JupyterFrontEnd app = JupyterFrontEnd() app.commands.execute("notebook:insert-cell-below") app.commands.execute("notebook:replace-selection", {"text": result}) ``` Source: https://github.com/kolibril13/jupyter-tldraw/blob/b4af7d98c86ec24c026e80ec927b6ef270d42d49/src/tldraw/__init__.py#L142