Skip to content

Conversation

@arre-ankit
Copy link
Member

@arre-ankit arre-ankit commented Jul 4, 2025

TLDR

This pull request introduces several new features and improvements to the Langbase Python SDK

Dive Deeper

Python SDK

  • Langbase: The main entry point for interacting with the Langbase API.
  • Pipes: Handles operations related to data pipelines.
  • Documents: Manages document-related functionalities.
  • Embeddings: Provides embedding capabilities for data processing.
  • Memories: Manages memory-related operations.
  • Tools: Handles tool-related functionalities.
  • Messages: Manages message-related operations.
  • Threads: Handles thread-related functionalities.
  • Embed: Handles embedding of a text
  • Workflow: A class that manages the orchestration of various tasks and processes within the Langbase system.
  • Helper: It includes a set of helper utilities to simplify common tasks eg. get_runner, get_tools_from_stream(), etc...

CI-CD

ISSUE_TEMPLAE

  • 1.bug_report.yml
  • 2.feature_request.yml
  • config.yml

pull_request_template

Testing

Prerequisites:

  • Ensure you have Python 3.7 or higher installed.
  • Make sure pytest is installed. If not, you can install it using

Setting Up the Testing Environment

  1. Create & Activate your virtual environment:
python -m venv venv

Activate venv

  • On Unix/macOS:
source venv/bin/activate
  • On Windows:
venv\Scripts\activate
  1. Install development dependencies:
pip install -r requirements-dev.txt
  1. Running Tests
  • Run all tests
pytest
  • Run specific tests:
pytest tests/test_langbase.py
  • Run tests with coverage:
pytest --cov=langbase

Please review the changes and provide feedback or suggestions for further improvements.

@arre-ankit arre-ankit requested a review from saqibameen July 4, 2025 22:34
@saqibameen
Copy link
Member

1- Why we using typing_extension
2- Readme is incorrect.
3- Remove un-used packages
4- Docs missing
5- Fix the readme
6- Tests are wrong completely.

Copy link
Member

@saqibameen saqibameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at review and improve the tests as suggested.

@saqibameen saqibameen merged commit a82e5e6 into main Jul 18, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants