merged most logic of chat and voice backend#44
Open
yashgoel1331 wants to merge 2 commits into
Open
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Merged the chat and voice backend->
-they both now use the same auth contract, i.e anonymous or token-for-phone
-the tool calls are working for the voice as well as the chat end point. There seem to be some changes in the CreateHealthCall tool from amul side, to be confirmed.
-for the voice end point, the tools were taking wrong values for union code,society code, farmer code. (The LLM kept sending names instead of codes to the tools) This had to be handled at the prompt level.
-Right now all the sessions go into chat-development, will fix telemetry as well.
-There are 3 main categories of files->
- Chat->files being used exclusively in chat
- Similar for voice
- shared->being used by both
-The files in chat do not import from voice and vice versa to prevent tight coupling