langfun
langfun copied to clipboard
OO for LLMs
Your "Hello World" example is giving the following error: ```bash (venv) timothysmith@MacBook-Pro auto % /Volumes/Storage/python/auto/venv/bin/python /Volumes/Storage/python/auto/ai.py /Volumes/Storage/python/auto/ai.py:16: SyntaxWarning: invalid escape sequence '\d' output_transform = lf.transforms.Match('\d+').to_int() Traceback (most recent call last):...
Internal change
fix the raise of error in eval.
The required pyglove version `pyglove>=0.4.4.dev20230926` is much higher than the official release version (`v0.4.3`). Could we either use pyglove==v0.4.3 for langfun or upgrade the `pyglove`'s release version?
adds GA Vertex AI Gemini models "gemini-1.5-pro-001" and "gemini-1.5-flash-001"
Internal changes.
Since langfun already setup dedicated classes for each model from various providers, wouldn't it be nice to add the pricing structure for each model in their dedicated classes. This will...
Suggestion: Instead of having different packages for LLM inference, we can create a single litellm class which allows the user to use multiple LLMs and reduces dependency management. Happy to...