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

Merge upstream 0324 #4

Merged
merged 415 commits into from
Mar 21, 2024
Merged

Merge upstream 0324 #4

merged 415 commits into from
Mar 21, 2024

Conversation

ntauth
Copy link
Owner

@ntauth ntauth commented Mar 21, 2024

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

mdelapenya and others added 30 commits January 16, 2024 17:17
The chat llm client calls use the newer OpenAI API to implement the
same functionality
Adding CallLLM as a general utility
Via `queryAttrs` you can specify fields to be returned with a
similarity search. In Weaviate you can retrieve the id via the
`_additional` field. With the current setup it is not possible to
add additional fields (like the id) to the the `_additional` due to
the manual mapping in 'createFields' function.

This adds a new `WithAdditionalFields` optional to give the user
control over which additional fields to return.
Add callback handler method for GenerateContent start and end
Finalize the majority of the model/LLM interface refactoring
all: clean up now unused types Generation and LLMResult
all: clean up and update comments
Abirdcfly and others added 29 commits March 7, 2024 17:57
1. add pgvector into test
2. add OPENAI_API_KEY and GENAI_API_KEY into test
3. deprecate pgvector table name Sanitize function
4. reset pgvector Search sql and make TestDeduplicater rerun
5. add test TestWithAllOptions for test all option
6. because of StuffDocuments.joinDocuments ignore document's metadata, update some tests

Signed-off-by: Abirdcfly <[email protected]>
It seems like a bunch of links were broken and docs.langchain.com
now redirects to the python docs.
* Example about retriever

A example about retriever, how use and why need use

* feat: add anothers options for vectorstore

* fix: update remove docs
* Example spliters

example about use spliter

* fix: update names
* tool: sql_database generate sql-query filter redundant text
…c LLM (tmc#671)

* implement WithBaseUrl and WithHttpClient for anthropic model

* fix build errors

* URL not url

* fix more errors
feat(milvus): add WithMetricType
tmc#675)

vectorstores/milvus: fixed the bug that the collection was created incorrectly
* feat: add llamafile

* feat: add llamafile embeddings
* documentloaders: added assemblyai document loader
* llms: Improve json response format coverage, add example
* fix: require the correct parameter for Azure OpenAI
* fix: ResponseFormat cause openai api response err - is not one of ['json_object', 'text'] - 'response_format.type'
* feat: change Executor to *Executor

* docs: add deprecated comment to agents.Initialize

* feat: change CreationOptions to Options in agents

* feat: change CreationOption type to Option in agents
* httputil: Add httputil package to provide some common helpers

* httputil: Address lint issues
@ntauth ntauth merged commit 0e35361 into main Mar 21, 2024
2 of 3 checks 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.