Skip to content

Commit

Permalink
cleanup readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brainlid committed Apr 30, 2024
1 parent 1aeec2b commit 891c792
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,3 @@ Executing a specific test, whether it is a `live_call` or not, will execute it c
When doing local development on the `LangChain` library itself, rename the `.envrc_template` to `.envrc` and populate it with your private API values. This is only used when running live test when explicitly requested.

Use a tool like [Direnv](https://direnv.net/) or [Dotenv](https://github.com/motdotla/dotenv) to load the API values into the ENV when using the library locally.


TODO: explicitly return JSON formatted data only to a request. Use in an example? Use for data extraction chain? (assuming only OpenAI?)
- https://platform.openai.com/docs/guides/text-generation/json-mode

TODO: For data extraction with OpenAI, can set the "tool_choice" to extra force that function use.

TODO: Multiple tool calls must mean that multiple tool messages can be returned in a sequence.

TODO: Pull the "before" OpenAI module for legacy API support? Allow for using it against OTHER APIs that have OpenAI compatibility and may not be updated yet.
- still need to be updated to use "Tool" related messages. Assistant "tool_calls" would be different too.

TODO: add a `version` to the structs. The version is set by the model. So it using an OpenAI assistant message with tool_calls is either a string date or "v2" or something. It can be pattern matched on when writing to a newer model.

- Perhaps the ChatOpenAI struct has the version number on it. Then it converts a `for_api` call differently for a tool to look like a function when targeting an older version.

0 comments on commit 891c792

Please sign in to comment.