-
Notifications
You must be signed in to change notification settings - Fork 170
LangChain Compability Restored #442
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
Merged
Merged
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
595b0f0
langchain compatible llminterfacev2 interface created
serengil 1b4c339
langchain compatible methods added to openai
serengil ab08ca1
broken test cases sorted
serengil da94032
brand new tests for llm interface v2
serengil 2fc6db8
vertex ai started to support llm interface v2
serengil 6a69656
brand new test cases added
serengil bdae480
invoke with tools method is not mandatory
serengil 0710a27
llminterfacev2 support added to ollama
serengil db997da
llm interface v2 supported in mistralai
serengil 8c324ab
llm interface v2 support added to cohere
serengil 053f70f
llm interface v2 support added to anthropic
serengil 1a45c4c
more tests for llminterfacev2
serengil be9bba1
mypy fixes
serengil c38ba4c
test_openai_llm possibly failed because of import in ci cd
serengil ce86150
Attempt CI/CD-compatible async mock for OpenAILLM tests
serengil 0e94ddd
Attempt CI/CD-safe async mock for OpenAILLM v1 test
serengil 1c05c9d
restoring graphrag e2e tests for v1
serengil e2dc9de
existing e2e test for graphrag sorted
serengil 85a478a
create message history only if langchain compatible branch
serengil abf0efa
typo in docstring
serengil b951fe6
avoid repeated langchain compatible check code
serengil 6fbb2e5
avoid to create vector idx and fulltext with same property
serengil b7cc001
avoid to create vector idx and fulltext with same property
serengil 4ad551b
make is instance of langchain check prettier
serengil e47c136
use params from invoke if available similar to LC
serengil 35746dd
define kwargs for invoke in the interface
serengil 532312c
fixing outer scope definition warning
serengil 017c5a0
arg names replaced with LC arg names
serengil 209558a
some additional docstring for new input args
serengil 46d72fd
docstring updated
serengil 0eb6904
use (a)invokev2 function names instead of brand new
serengil bb7737d
use (a)invoke_v1 function name instead of legacy invoke
serengil cb48e2a
keep rate limit handlers for v2 functions
serengil 4728be9
use warning for deprecated llm interface v1
serengil c0786f0
Merge branch 'main' into sefik/langchain-compability
serengil 125c74f
resolve conflict after Alex's recent uv change
serengil 4ee1d7e
formatted
serengil 2f49a4d
mypy problems sorted
serengil 3290d35
initialize llms with llm interface v2
serengil 24a13ab
invoke with tools dropped in llm interface v2
serengil fdf8e6f
revert the behaviour back for return_context
serengil 3dc0d07
e2e tests updated for restored behaviour for return_context
serengil fbf5b73
llm can also be lc object, added any for this
serengil 693f38a
users initialize their own llm objects, so we don't have to make llm …
serengil 32410ee
Merge branch 'main' into sefik/langchain-compability
serengil adcd3bc
auto format after manual conflict resolution
serengil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.